LDAP Client.Net

Client.Connect Method

Authenticate and bind to a directory server on the Port.DefaultPort using unencrypted transport, and the empty string as both username and password.

Overload List

Authenticate and bind to a directory server on the Port.DefaultPort using unencrypted transport, and the empty string as both username and password.

[Visual Basic] Public Sub Connect(ByVal String)
[C#] public void Connect(string);
[C++] public: void Connect(String*);
[JScript] public function Connect(String);

Authenticate and bind to a directory server using unencrypted transport, and the emtpy string as both username and password.

[Visual Basic] Public Sub Connect(ByVal String,ByVal Boolean)
[C#] public void Connect(string,bool);
[C++] public: void Connect(String*,bool);
[JScript] public function Connect(String,bool);

Authenticate and bind to a directory server using unencrypted transport.

[Visual Basic] Public Sub Connect(ByVal String,ByVal Integer,ByVal String,ByVal String)
[C#] public void Connect(string,int,string,string);
[C++] public: void Connect(String*,int,String*,String*);
[JScript] public function Connect(String,int,String,String);

Authenticate and bind to a directory server.

[Visual Basic] Public Sub Connect(ByVal String,ByVal Integer,ByVal String,ByVal String,ByVal Boolean)
[C#] public void Connect(string,int,string,string,bool);
[C++] public: void Connect(String*,int,String*,String*,bool);
[JScript] public function Connect(String,int,String,String,bool);

Authenticate and bind to a directory server using unencrypted transport on the Port.DefaultPort.

[Visual Basic] Public Sub Connect(ByVal String,ByVal String,ByVal String)
[C#] public void Connect(string,string,string);
[C++] public: void Connect(String*,String*,String*);
[JScript] public function Connect(String,String,String);

Authenticate and bind to a directory server using the Port.DefaultPort.

[Visual Basic] Public Sub Connect(ByVal String,ByVal String,ByVal String,ByVal Boolean)
[C#] public void Connect(string,string,string,bool);
[C++] public: void Connect(String*,String*,String*,bool);
[JScript] public function Connect(String,String,String,bool);

See Also

Client Class | LdapServices.Ldap Namespace