Click or drag to resize
Galactic API

LDAP Class

Inheritance Hierarchy
SystemObject
  Galactic.LDAPLDAP

Namespace:  Galactic.LDAP
Assembly:  Galactic.LDAP (in Galactic.LDAP.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public class LDAP : IDisposable

The LDAP type exposes the following members.

Constructors
  NameDescription
Public methodLDAP
Establishes a connection with an LDAP server that can be used to query or modify its contents. A list of servers by fully qualified domain name, host name, ip address, or null.The port number on the LDAP server that is listening for requests.(Optional) The type of authentication to use when connecting with the server. By default this is set to Anonymous (i.e. no credentials required).(Optional) The user name to use when connecting to the LDAP server.(Optional) The password to use with the user name provided to connect to the LDAP server.(Optional) The domain or computer name associated with the user credentials provided.(Optional) If enabled, the LDAP connection will use the logon credentials from the current session. Disabled by default.
Top
Properties
  NameDescription
Public propertyAlternateServers
A list of other servers that can fulfill LDAP requests if the one we're connected to becomes unavailable. May be null if there are no other servers available.
Public propertyNamingContexts
The Naming Contexts (The base DNs that this server hosts.) for the LDAP server as defined in the RootDSE entry.
Public propertyRootDSE
The rootDSE entry for the connected LDAP server.
Top
Methods
  NameDescription
Public methodAdd
Adds an entry to the LDAP directory with the specified distinguished name and attributes.
Public methodAddOrReplaceAttribute
Adds or Replaces an attribute's value in the specified entry in the directory.
Public methodDelete
Deletes an entry from the LDAP directory with the specified distinguished name.
Public methodDeleteAttribute
Deletes an attribute's value in the specified entry in the directory.
Public methodDispose
Closes the LDAP connection and frees all resources associated with it.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetByteAttributeValue
Gets the first byte array attribute value from the supplied entry.
Public methodGetByteAttributeValues
Gets all byte array attribute values from the supplied entry.
Public methodGetEntryByDistinguishedName
Gets an entry from the directory with the specified distinguished name.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetStringAttributeValue
Gets the first string attribute value from the supplied entry.
Public methodGetStringAttributeValues
Gets all string attribute values from the supplied entry.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveRenameEntry
Moves and / or renames an entry in the directory.
Public methodSearch
Searches the LDAP directory for entries that match the specified search filter.
Public methodSetSearchBaseAndScope
Sets the object that is the base for all searches, as well as the scope of the searches. This only needs to be set if you need to search somewhere other than the base of the directory, or with a scope other than subtree.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberDEFAULT_QUERY_PAGE_SIZE
The default size of pages returned when making large queries.
Public fieldStatic memberLDAP_PORT
The default unencrypted port used for LDAP servers.
Public fieldStatic memberLDAP_SSL_PORT
The default SSL encrypted port for LDAP servers.
Top
See Also