2 instantiations of SDSCache
System.DirectoryServices.AccountManagement (2)
System\DirectoryServices\AccountManagement\AD\SDSCache.cs (2)
35private static readonly SDSCache s_domainCache = new SDSCache(false); 36private static readonly SDSCache s_localMachineCache = new SDSCache(true);
12 references to SDSCache
System.DirectoryServices.AccountManagement (12)
System\DirectoryServices\AccountManagement\AD\ADDNLinkedAttrSet.cs (1)
702PrincipalContext remoteCtx = SDSCache.Domain.GetContext(foreignSid.sidIssuerName, _storeCtx.Credentials, remoteOptions);
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (1)
2131PrincipalContext remoteCtx = SDSCache.Domain.GetContext(domainName, this.credentials, remoteOptions);
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_LoadStore.cs (1)
277constructedContext = SDSCache.Domain.GetContext(dnsDomainName, this.Credentials, this.OwningContext.Options);
System\DirectoryServices\AccountManagement\AD\SDSCache.cs (6)
19public static SDSCache Domain 23return SDSCache.s_domainCache; 27public static SDSCache LocalMachine 31return SDSCache.s_localMachineCache; 35private static readonly SDSCache s_domainCache = new SDSCache(false); 36private static readonly SDSCache s_localMachineCache = new SDSCache(true);
System\DirectoryServices\AccountManagement\AuthZSet.cs (2)
353PrincipalContext ctx = SDSCache.LocalMachine.GetContext( 367PrincipalContext ctx = SDSCache.Domain.GetContext(
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (1)
854PrincipalContext remoteCtx = SDSCache.Domain.GetContext(domainName, _credentials, DefaultContextOptions.ADDefaultContextOption);