API17:JLDAP
From Joomla! Documentation
Revision as of 13:55, 29 August 2012 by JoomlaWikiBot (Talk | contribs)
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JLDAP
Description
Description:JLDAP [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Constructor. |
| public | add | Add an attribute to the given DN Note: DN has to exist already. |
| public | anonymous_bind | Anonymously binds to LDAP directory. |
| public | bind | Binds to the LDAP directory. |
| public | close | Close the connection. |
| public | compare | Compare an entry and return a true or false result. |
| public | connect | Connect to server. |
| public | create | Create a new DN. |
| public | delete | Deletes a given DN from the tree. |
| public | generatePassword | Generates a LDAP compatible password. |
| public | getDN | |
| public | getErrorMsg | Returns the error message. |
| public | ipToNetAddress | Converts a dot notation IP address to net address (e.g. |
| public | LDAPNetAddr | extract readable network address from the LDAP encoded networkAddress attribute. |
| public | modify | Modifies an entry and return a true or false result. |
| public | read | Read all or specified attributes of given dn. |
| public | remove | Removes attribute value from given dn and return a true or false result. |
| public | rename | Rename the entry. |
| public | replace | Replace an entry and return a true or false result. |
| public | search | Perform an LDAP search. |
| public | setDN | Sets the DN with some template replacements. |
| public | simple_search | Perform an LDAP search using comma seperated search strings. |
- Defined in libraries/joomla/client/ldap.php
- Extends JObject
Importing
jimport( 'joomla.client.ldap' );
See also
-
JLDAP source code on BitBucket
-
Subpackage Client
- Other versions of JLDAP
User contributed notes
<CodeExamplesForm />
