DirectoryEntry Constructor (String^, String^, String^, AuthenticationTypes)
.NET Framework (current version)
Initializes a new instance of the DirectoryEntry class.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
public:
DirectoryEntry(
String^ path,
String^ username,
String^ password,
AuthenticationTypes authenticationType
)
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.
- authenticationType
-
Type:
System.DirectoryServices::AuthenticationTypes
One of the AuthenticationTypes values. The AuthenticationType property is initialized to this value.
.NET Framework
Available since 1.1
Available since 1.1
Show: