DirectoryContext Constructor (DirectoryContextType, String)
Initializes a new instance of the DirectoryContext class of the specified type that contains the specified name and the credentials of the current user context.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
One of the DirectoryContextType members that specifies the type of context to create.
Available since 2.0