// Token: 0x060009FE RID: 2558 RVA: 0x000217C8 File Offset: 0x0001F9C8 internal override IEnumerable <T> GetObjectsInOrganization <T>(string identityString, ADObjectId rootId, IDirectorySession session, OptionalIdentityData optionalData) { string[] commonNames = AddressListIdParameter.GetCommonNames(identityString); if (commonNames.Length == 1) { ADObjectId rootContainerId = GlobalAddressListIdParameter.GetRootContainerId((IConfigurationSession)session); ADObjectId childId = rootContainerId.GetChildId(commonNames[0]); EnumerableWrapper <T> wrapper = EnumerableWrapper <T> .GetWrapper(base.GetADObjectIdObjects <T>(childId, rootId, session, optionalData), this.GetEnumerableFilter <T>()); if (wrapper.HasElements()) { return(wrapper); } } return(base.GetObjectsInOrganization <T>(identityString, rootId, session, optionalData)); }
// Token: 0x060009FD RID: 2557 RVA: 0x00021720 File Offset: 0x0001F920 internal override IEnumerable <T> GetObjects <T>(ADObjectId rootId, IDirectorySession session, IDirectorySession subTreeSession, OptionalIdentityData optionalData, out LocalizedString?notFoundReason) { if (typeof(T) != typeof(AddressBookBase)) { throw new ArgumentException(Strings.ErrorInvalidType(typeof(T).Name), "type"); } if (session == null) { throw new ArgumentNullException("session"); } IConfigurationSession scSession = session as IConfigurationSession; if ("\\" == base.RawIdentity) { notFoundReason = null; ADObjectId rootContainerId = GlobalAddressListIdParameter.GetRootContainerId(scSession); return(EnumerableWrapper <T> .GetWrapper(base.GetADObjectIdObjects <T>(rootContainerId, rootId, subTreeSession, optionalData), this.GetEnumerableFilter <T>())); } return(base.GetObjects <T>(rootId, session, subTreeSession, optionalData, out notFoundReason)); }
// Token: 0x06000834 RID: 2100 RVA: 0x0001DE37 File Offset: 0x0001C037 protected AddressBookBaseIdParameter(string identity) { this.rawIdentity = identity; this.addressListIdParameter = AddressListIdParameter.Parse(identity); this.globalAddressListIdParameter = GlobalAddressListIdParameter.Parse(identity); }
// Token: 0x060009FA RID: 2554 RVA: 0x000216D3 File Offset: 0x0001F8D3 internal static ADObjectId GetRootContainerId(IConfigurationSession scSession) { return(GlobalAddressListIdParameter.GetRootContainerId(scSession, null)); }