public virtual FederatedIdentity GetFederatedIdentity()
 {
     if (this.FederatedIdentity == null)
     {
         this.FederatedIdentity = DirectoryExtensions.GetWithDirectoryExceptionTranslation <FederatedIdentity>(() => FederatedIdentityHelper.GetFederatedIdentity(this));
     }
     return(this.FederatedIdentity);
 }
 public virtual SmtpAddress GetFederatedSmtpAddress()
 {
     if (this.FederatedSmtpAddress == null)
     {
         this.FederatedSmtpAddress = new SmtpAddress?(DirectoryExtensions.GetWithDirectoryExceptionTranslation <SmtpAddress>(() => this.GetFederatedSmtpAddress(this.PrimarySmtpAddress)));
     }
     return(this.FederatedSmtpAddress.Value);
 }
Beispiel #3
0
 public FederatedIdentity GetFederatedIdentity()
 {
     return(DirectoryExtensions.GetWithDirectoryExceptionTranslation <FederatedIdentity>(() => FederatedIdentityHelper.GetFederatedIdentity(this.adUser)));
 }
Beispiel #4
0
 public SmtpAddress GetFederatedSmtpAddress()
 {
     return(DirectoryExtensions.GetWithDirectoryExceptionTranslation <SmtpAddress>(new Func <SmtpAddress>(this.adUser.GetFederatedSmtpAddress)));
 }
 public FederatedIdentity GetFederatedIdentity()
 {
     return(DirectoryExtensions.GetWithDirectoryExceptionTranslation <FederatedIdentity>(new Func <FederatedIdentity>(this.storageMiniRecipient.GetFederatedIdentity)));
 }
 public SmtpAddress GetFederatedSmtpAddress()
 {
     return(DirectoryExtensions.GetWithDirectoryExceptionTranslation <SmtpAddress>(new Func <SmtpAddress>(this.storageMiniRecipient.GetFederatedSmtpAddress)));
 }