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