LDAP Class |
Namespace: Galactic.LDAP
The LDAP type exposes the following members.
Name | Description | |
---|---|---|
LDAP |
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. |
Name | Description | |
---|---|---|
AlternateServers |
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.
| |
NamingContexts |
The Naming Contexts (The base DNs that this server hosts.) for the LDAP server as defined in the RootDSE entry.
| |
RootDSE |
The rootDSE entry for the connected LDAP server.
|
Name | Description | |
---|---|---|
Add |
Adds an entry to the LDAP directory with the specified distinguished name and attributes.
| |
AddOrReplaceAttribute |
Adds or Replaces an attribute's value in the specified entry in the directory.
| |
Delete |
Deletes an entry from the LDAP directory with the specified distinguished name.
| |
DeleteAttribute |
Deletes an attribute's value in the specified entry in the directory.
| |
Dispose |
Closes the LDAP connection and frees all resources associated with it.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetByteAttributeValue |
Gets the first byte array attribute value from the supplied entry.
| |
GetByteAttributeValues |
Gets all byte array attribute values from the supplied entry.
| |
GetEntryByDistinguishedName |
Gets an entry from the directory with the specified distinguished name.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetStringAttributeValue |
Gets the first string attribute value from the supplied entry.
| |
GetStringAttributeValues |
Gets all string attribute values from the supplied entry.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MoveRenameEntry |
Moves and / or renames an entry in the directory.
| |
Search |
Searches the LDAP directory for entries that match the specified search filter.
| |
SetSearchBaseAndScope |
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.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
DEFAULT_QUERY_PAGE_SIZE |
The default size of pages returned when making large queries.
| |
LDAP_PORT |
The default unencrypted port used for LDAP servers.
| |
LDAP_SSL_PORT |
The default SSL encrypted port for LDAP servers.
|