Exemplo n.º 1
0
        internal static IADOPathNode ToSearchFromResourcePropertyNameToDN(string extendedAttributeName, string[] directoryAttributes, IADOPathNode filterClause, CmdletSessionInfo cmdletSessionInfo)
        {
            string str = ADPathModule.MakePath(cmdletSessionInfo.ADRootDSE.ConfigurationNamingContext, "CN=Claims Configuration,CN=Services,", ADPathFormat.X500);

            str = ADPathModule.MakePath(str, "CN=Resource Properties,", ADPathFormat.X500);
            return(SearchConverters.ToSearchFromADEntityToAttributeValue <ADResourcePropertyFactory <ADResourceProperty>, ADResourceProperty>(str, null, extendedAttributeName, directoryAttributes, filterClause, cmdletSessionInfo));
        }
Exemplo n.º 2
0
        internal static IADOPathNode ToSearchFromTopologyObjectNameToDN <F, O>(string extendedAttributeName, string[] directoryAttributes, IADOPathNode filterClause, CmdletSessionInfo cmdletSessionInfo)
            where F : ADFactory <O>, new()
            where O : ADEntity, new()
        {
            string str = ADPathModule.MakePath(cmdletSessionInfo.ADRootDSE.ConfigurationNamingContext, "CN=Sites,", ADPathFormat.X500);

            return(SearchConverters.ToSearchFromADEntityToAttributeValue <F, O>(str, null, extendedAttributeName, directoryAttributes, filterClause, cmdletSessionInfo));
        }
Exemplo n.º 3
0
        internal static IADOPathNode ToSearchFromTrustNameToDN(string extendedAttributeName, string[] directoryAttributes, IADOPathNode filterClause, CmdletSessionInfo cmdletSessionInfo)
        {
            string wellKnownGuidDN = Utils.GetWellKnownGuidDN(cmdletSessionInfo.ADSessionInfo, cmdletSessionInfo.ADRootDSE.DefaultNamingContext, WellKnownGuids.SystemsContainerGuid);

            return(SearchConverters.ToSearchFromADEntityToAttributeValue <ADTrustFactory <ADTrust>, ADTrust>(wellKnownGuidDN, null, extendedAttributeName, directoryAttributes, filterClause, cmdletSessionInfo));
        }
Exemplo n.º 4
0
 internal static IADOPathNode ToSearchFromSchemaObjectNameToDN(string extendedAttributeName, string[] directoryAttributes, IADOPathNode filterClause, CmdletSessionInfo cmdletSessionInfo)
 {
     return(SearchConverters.ToSearchFromADEntityToAttributeValue <ADSchemaObjectFactory <ADSchemaObject>, ADSchemaObject>(cmdletSessionInfo.ADRootDSE.SchemaNamingContext, null, extendedAttributeName, directoryAttributes, filterClause, cmdletSessionInfo));
 }
Exemplo n.º 5
0
 internal static IADOPathNode ToSearchFromADObjectToDN <F, O>(string extendedAttributeName, string[] directoryAttributes, IADOPathNode filterClause, CmdletSessionInfo cmdletSessionInfo)
     where F : ADFactory <O>, new()
     where O : ADObject, new()
 {
     return(SearchConverters.ToSearchFromADEntityToAttributeValue <F, O>(cmdletSessionInfo.DefaultPartitionPath, null, extendedAttributeName, directoryAttributes, filterClause, cmdletSessionInfo));
 }