3 references to DirectoryContext
System.DirectoryServices.AccountManagement (3)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (2)
1192
Forest forest = Forest.GetForest(new
DirectoryContext
(DirectoryContextType.Forest, this.DnsForestName, this.credentials?.UserName, this.credentials?.Password));
1194
DirectoryContext dc = new
DirectoryContext
(DirectoryContextType.Domain, this.DnsDomainName, this.credentials?.UserName, this.credentials?.Password);
System\DirectoryServices\AccountManagement\AD\ADUtils.cs (1)
477
Domain targetdom = Domain.GetDomain(new
DirectoryContext
(DirectoryContextType.Domain, targetDomain, username, password));