public void SetExchangePrincipal() { if (base.Principal == null) { base.Principal = AggregatedAccountListConfigurationWrapper.GetExchangePrincipalFromADUser(this.TargetUser); } }
public void UpdateData(RequestJobBase requestJob) { base.Principal = AggregatedAccountListConfigurationWrapper.GetExchangePrincipalFromADUser(requestJob.TargetUser); this.TargetUser = requestJob.TargetUser; this.TargetExchangeGuid = requestJob.TargetExchangeGuid; base.SmtpAddress = requestJob.EmailAddress; base.RequestGuid = requestJob.RequestGuid; base.AggregatedMailboxGuid = (requestJob.Flags.HasFlag(RequestFlags.TargetIsAggregatedMailbox) ? requestJob.TargetExchangeGuid : Guid.Empty); }