Click or drag to resize

Utils_DirectoryServicesGetDomain Method

Tries to get a domain using its name.

Namespace:  MicaSystems.Utils
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public static PrincipalContext GetDomain(
	string name,
	Dictionary<string, PrincipalContext> contextsCache = null
)

Parameters

name
Type: SystemString
contextsCache (Optional)
Type: System.Collections.GenericDictionaryString, PrincipalContext

Return Value

Type: PrincipalContext
See Also