6 references to GetLoggedOnDomain
System.DirectoryServices (6)
System\DirectoryServices\ActiveDirectory\DirectoryContext.cs (3)
196
context.serverName =
GetLoggedOnDomain
();
457
string loggedOnDomain =
GetLoggedOnDomain
();
513
serverName =
GetLoggedOnDomain
();
System\DirectoryServices\ActiveDirectory\DomainController.cs (2)
974
domainName ??= DirectoryContext.
GetLoggedOnDomain
();
1016
int errorCode = Locator.DsGetDcNameWrapper(null, domainName ?? DirectoryContext.
GetLoggedOnDomain
(), null, (long)PrivateLocatorFlags.DirectoryServicesRequired, out domainControllerInfo);
System\DirectoryServices\ActiveDirectory\GlobalCatalog.cs (1)
362
int error = Locator.DsGetDcNameWrapper(null, DirectoryContext.
GetLoggedOnDomain
(), null, (long)PrivateLocatorFlags.DirectoryServicesRequired, out tempDomainControllerInfo);