// Token: 0x06001173 RID: 4467 RVA: 0x00054090 File Offset: 0x00052290 public static IConfigurationSession CreateScopedToSharedConfigADSession(OrganizationId orgId) { ADSessionSettings adsessionSettings = null; if (SharedConfiguration.IsDehydratedConfiguration(orgId) || SharedConfiguration.IsSharedConfiguration(orgId)) { SharedConfiguration sharedConfiguration = SharedConfiguration.GetSharedConfiguration(orgId); if (sharedConfiguration != null) { adsessionSettings = sharedConfiguration.GetSharedConfigurationSessionSettings(); } } if (adsessionSettings == null) { adsessionSettings = ADSessionSettings.FromOrganizationIdWithoutRbacScopes(ADSystemConfigurationSession.GetRootOrgContainerIdForLocalForest(), orgId, null, false); } return(DirectorySessionFactory.Default.GetTenantOrTopologyConfigurationSession(ConsistencyMode.IgnoreInvalid, adsessionSettings, 366, "CreateScopedToSharedConfigADSession", "f:\\15.00.1497\\sources\\dev\\data\\src\\directory\\SharedConfiguration.cs")); }
// Token: 0x06001172 RID: 4466 RVA: 0x0005407B File Offset: 0x0005227B public static bool IsDehydratedConfiguration(IConfigurationSession adConfigSession) { return(SharedConfiguration.IsDehydratedConfiguration(adConfigSession.SessionSettings.CurrentOrganizationId)); }