Unosquare
    Show / Hide Table of Contents

    Namespace Swan.Ldap

    Classes

    LdapAttribute

    The name and values of one attribute of a directory entry. LdapAttribute objects are used when searching for, adding, modifying, and deleting attributes from the directory. LdapAttributes are often used in conjunction with an LdapAttributeSet when retrieving or adding multiple attributes to an entry.

    LdapAttributeSet

    A set of LdapAttribute objects. An LdapAttributeSet is a collection of LdapAttribute classes as returned from an LdapEntry on a search or read operation. LdapAttributeSet may be also used to construct an entry to be added to a directory.

    LdapBindRequest

    Represents a simple bind request.

    LdapConnection

    The central class that encapsulates the connection to a directory server through the Ldap protocol. LdapConnection objects are used to perform common Ldap operations such as search, modify and add. In addition, LdapConnection objects allow you to bind to an Ldap server, set connection and search constraints, and perform several other tasks. An LdapConnection object is not connected on construction and can only be connected to one server at one port.

    Based on https://github.com/dsbenghe/Novell.Directory.Ldap.NETStandard.

    LdapControl

    Encapsulates optional additional parameters or constraints to be applied to an Ldap operation. When included with LdapConstraints or LdapSearchConstraints on an LdapConnection or with a specific operation request, it is sent to the server along with operation requests.

    LdapEntry

    Represents a single entry in a directory, consisting of a distinguished name (DN) and zero or more attributes. An instance of LdapEntry is created in order to add an entry to a directory, and instances of LdapEntry are returned on a search by enumerating an LdapSearchResults.

    LdapException

    Thrown to indicate that an Ldap exception has occurred. This is a general exception which includes a message and an Ldap result code. An LdapException can result from physical problems (such as network errors) as well as problems with Ldap operations detected by the server. For example, if an Ldap add operation fails because of a duplicate entry, the server returns a result code.

    LdapMessage

    The base class for Ldap request and response messages. Subclassed by response messages used in asynchronous operations.

    LdapModification

    A single add, delete, or replace operation to an LdapAttribute. An LdapModification contains information on the type of modification being performed, the name of the attribute to be replaced, and the new value. Multiple modifications are expressed as an array of modifications, i.e., LdapModification[]. An LdapModification or an LdapModification array enable you to modify an attribute of an Ldap entry. The entire array of modifications must be performed by the server as a single atomic operation in the order they are listed. No changes are made to the directory unless all the operations succeed. If all succeed, a success result is returned to the application. It should be noted that if the connection fails during a modification, it is indeterminate whether the modification occurred or not. There are three types of modification operations: Add, Delete, and Replace. Add: Creates the attribute if it doesn't exist, and adds the specified values. This operation must contain at least one value, and all values of the attribute must be unique. Delete: Deletes specified values from the attribute. If no values are specified, or if all existing values of the attribute are specified, the attribute is removed. Mandatory attributes cannot be removed. Replace: Creates the attribute if necessary, and replaces all existing values of the attribute with the specified values. If you wish to keep any existing values of a multi-valued attribute, you must include these values in the replace operation. A replace operation with no value will remove the entire attribute if it exists, and is ignored if the attribute does not exist. Additional information on Ldap modifications is available in section 4.6 of. rfc2251.txt

    LdapModifyRequest

    Represents a LDAP Modification Request Message.

    LdapSearchResults

    An LdapSearchResults object is returned from a synchronous search operation. It provides access to all results received during the operation (entries and exceptions).

    Enums

    LdapModificationOp

    Ldap Modification Operators.

    LdapScope

    LDAP valid scopes.

    LdapStatusCode

    LDAP Connection Status Code.

    Comments

    Back to top Copyright © 2017-2019 Unosquare