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