コード例 #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));
 }