예제 #1
0
 internal AddressBookBase GetGlobalAddressList(IBudget budget)
 {
     if (!this.isGlobalAddressListLoaded)
     {
         IConfigurationSession configurationSession = UserContextUtilities.CreateADSystemConfigurationSession(true, ConsistencyMode.IgnoreInvalid, this, budget);
         IRecipientSession     recipientSession     = UserContextUtilities.CreateADRecipientSession(CultureInfo.CurrentCulture.LCID, true, ConsistencyMode.IgnoreInvalid, false, this, false, budget);
         this.globalAddressList         = AddressBookBase.GetGlobalAddressList(base.LogonIdentity.ClientSecurityContext, configurationSession, recipientSession, this.GlobalAddressListId);
         this.isGlobalAddressListLoaded = true;
     }
     return(this.globalAddressList);
 }