Unosquare
    Show / Hide Table of Contents

    Class LdapBindRequest

    Represents a simple bind request.

    Inheritance
    Object
    LdapMessage
    LdapBindRequest
    Inherited Members
    LdapMessage.MessageId
    LdapMessage.Request
    LdapMessage.Tag
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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.

    Overrides
    LdapMessage.ToString()

    See Also

    LdapMessage

    Comments

    Back to top Copyright © 2017-2019 Unosquare