DirectoryEntry Constructor (String, String, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the DirectoryEntry class.

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public DirectoryEntry(
	string path,
	string username,
	string password
)

Parameters

path
Type: System.String

The path of this DirectoryEntry. The Path property is initialized to this value.

username
Type: System.String

The user name to use when authenticating the client. The Username property is initialized to this value.

password
Type: System.String

The password to use when authenticating the client. The Password property is initialized to this value.

.NET Framework
Available since 1.1
Return to top
Show: