Class LdapBindRequest
Represents a simple bind request.
Inherited Members
Namespace: Swan.Ldap
Syntax
public class LdapBindRequest : LdapMessage
Constructors
LdapBindRequest(Int32, String, SByte[])
Initializes a new instance of the LdapBindRequest class. Constructs a simple bind request.
Declaration
public LdapBindRequest(int version, string dn, sbyte[] password)
Parameters
Type | Name | Description |
---|---|---|
Int32 | version | The Ldap protocol version, use Ldap_V3. Ldap_V2 is not supported. |
String | dn | If non-null and non-empty, specifies that the connection and all operations through it should be authenticated with dn as the distinguished name. |
SByte[] | password | If non-null and non-empty, specifies that the connection and all operations through it should be authenticated with dn as the distinguished name and passwd as password. |
Properties
AuthenticationDN
Retrieves the Authentication DN for a bind request.
Declaration
public string AuthenticationDN { get; }
Property Value
Type | Description |
---|---|
String | The authentication dn. |
Methods
ToString()
Returns a String that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A String that represents this instance. |