protected override bool IsValidAdUser(ADUser adUser) { return(MailboxLocatorValidator.IsValidGroupLocator(adUser)); }
public static bool IsValidGroupLocator(string legacyExchangeDn, ExchangeObjectVersion objectVersion, RecipientTypeDetails recipientTypeDetails) { return(MailboxLocatorValidator.IsValidMailboxLocator(legacyExchangeDn, objectVersion) && recipientTypeDetails == RecipientTypeDetails.GroupMailbox); }
public static bool IsValidUserLocator(ADUser user) { return(MailboxLocatorValidator.IsValidUserLocator(user.LegacyExchangeDN, user.ExchangeVersion, user.RecipientTypeDetails)); }
public static bool IsValidUserLocator(string legacyExchangeDn, ExchangeObjectVersion objectVersion, RecipientTypeDetails recipientTypeDetails) { return(MailboxLocatorValidator.IsValidMailboxLocator(legacyExchangeDn, objectVersion) && (recipientTypeDetails == RecipientTypeDetails.UserMailbox || recipientTypeDetails == RecipientTypeDetails.MailUser)); }