Example #1
0
        // Token: 0x06000117 RID: 279 RVA: 0x000068A8 File Offset: 0x00004AA8
        protected IRecipientSession GetDomainRecipientSession()
        {
            IRecipientSession result = null;

            try
            {
                Guid externalOrgId = new Guid(this.Domain);
                result = DirectoryHelper.GetRecipientSessionFromExternalDirectoryOrganizationId(base.RequestContext.LatencyTracker, externalOrgId, base.RequestContext.Logger);
            }
            catch (FormatException)
            {
                result = DirectoryHelper.GetBusinessTenantRecipientSessionFromDomain(this.Domain, base.RequestContext.Logger, base.RequestContext.LatencyTracker);
            }
            return(result);
        }