Galactic.LDAP
The default unencrypted port used for LDAP servers.
The default SSL encrypted port for LDAP servers.
The default size of pages returned when making large queries.
The Naming Contexts (The base DNs that this server hosts.) for the LDAP server as defined in the RootDSE entry.
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.
The rootDSE entry for the connected LDAP server.
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.
Closes the LDAP connection and frees all resources associated with it.
Searches the LDAP directory for entries that match the specified search filter.
The filter that defines the entries to find.
(Optional) The attributes that should be returned in each entry found.
(Optional)The distinguished name of the base entry where the search will begin. (Typically an OU or the base DN of the directory.) If not supplied, the default values will be used. This base is used only for the duration of this search.
(Optional) The scope to use while searching. Defaults to Subtree. (Typically Base, just the object with the DN specified; OneLevel, just the child objects of the base object; or Subtree, the base object and all child objects) This scope is used only for the duration of this search.
(Optional) The query page size to specify when making large requests. Defaults to DEFAULT_QUERY_PAGE_SIZE.
(Optional) Whether the search should chase object referrals to other servers if necessary. Defaults to true;
A collection of search result entries found, or null if there was an error with the search.
Adds an entry to the LDAP directory with the specified distinguished name and attributes.
The distinguished name of the entry to add.
The attributes for the entry to add.
True if added, false otherwise.
Adds or Replaces an attribute's value in the specified entry in the directory.
The distinguished name of the entry to add or replace an attribute of.
The name of the attribute to add or replace a value for.
The values associated with the attribute to add or replace.
True if added or replaced, false otherwise.
Deletes an entry from the LDAP directory with the specified distinguished name.
The distinguished name of the entry to delete.
True if deleted, false otherwise.
Deletes an attribute's value in the specified entry in the directory.
The distinguished name of the entry to delete an attribute from.
The name of the attribute to delete.
Optional: The specific values to delete (if desired). Supplying null will delete all values associated with the attribute.
True if deleted, false otherwise.
Gets the first byte array attribute value from the supplied entry.
The name of the attribute to retrieve.
The SearchResultEntry to get the attribute value from.
A first byte value held in the attribute, or null array if there was an error retrieving the value or the attribute was empty.
Gets all byte array attribute values from the supplied entry.
The name of the attribute to retrieve.
The SearchResultEntry to get the attribute value from.
A list of byte values held in the attribute, or null if there was an error retrieving the values or the attribute was empty.
Gets an entry from the directory with the specified distinguished name.
The distinguished name of the entry to retrieve.
(Optional) The attributes that should be returned in each entry found. If not provided, all attributes are returned.
(Optional)The distinguished name of the base entry where the search will begin. (Typically an OU or the base DN of the directory.) If not supplied, the default values will be used. This base is used only for the duration of this search.
(Optional) The scope to use while searching. Defaults to Subtree. (Typically Base, just the object with the DN specified; OneLevel, just the child objects of the base object; or Subtree, the base object and all child objects) This scope is used only for the duration of this search.
The entry with the specified distinguished name or null if the entry does not exist or there was an error in its retrieval.
Gets the first string attribute value from the supplied entry.
The name of the attribute to retrieve.
The SearchResultEntry to get the attribute value from.
A first string value held in the attribute, or null if there was an error retrieving the value or the attribute was empty.
Gets all string attribute values from the supplied entry.
The name of the attribute to retrieve.
The SearchResultEntry to get the attribute value from.
A list of string values held in the attribute, or null if there was an error retrieving the values or the attribute was empty.
Moves and / or renames an entry in the directory.
The distinguished name of the entry to move or rename.
The distinguished name of the entry's new parent entry in the directory (if moving), or its current parent entry (if renaming).
The new common name of entry.
True if moved or renamed, false otherwise.
Replace an attribute's value in the specified entry in the directory, or replaces all values in a multivalued entry.
The distinguished name of the entry to replace the attribute value of.
The name of the attribute to replace.
The values associated with the attribute to replace.
True if replaced, false otherwise.
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.
The distinguished name of the object where searches will begin. (Typically an OU or the base DN of the directory.)
(Optional) The scope to use while searching. Defaults to Subtree. (Typically Base, just the object with the DN specified; OneLevel, just the child objects of the base object; or Subtree, the base object and all child objects)
True if the search base and scope were set, false otherwise.