internal static ADObjectId GetHostedOrganizationsRoot(string partitionFqdn) { return(ADSession.GetRootDomainNamingContext(partitionFqdn).GetChildId("OU", "Microsoft Exchange Hosted Organizations")); }
internal static ADObjectId GetConfigurationUnitsRoot(string partitionFqdn) { ADObjectId adobjectId = ADSession.IsTenantConfigInDomainNC(partitionFqdn) ? ADSession.GetRootDomainNamingContext(partitionFqdn) : ADSession.GetMicrosoftExchangeRoot(ADSession.GetConfigurationNamingContext(partitionFqdn)); return(adobjectId.GetChildId("CN", ADObject.ConfigurationUnits)); }
internal static ADObjectId GetRootDomainNamingContextForLocalForest() { return(ADSession.GetRootDomainNamingContext(TopologyProvider.LocalForestFqdn)); }