API17

JLDAP

From Joomla! Documentation

Revision as of 15:54, 20 April 2011 by Doxiki2 (talk | contribs) (Bulk upload by Doxiki2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

[Edit Descripton] Template:Description:JLDAP

Defined in[edit]

libraries/joomla/client/ldap.php

Subpackage[edit]

Client

Extends[edit]

JObject

Extended by[edit]

Methods[edit]

Method name Description
__construct Constructor.
add Add an attribute to the given DN Note: DN has to exist already.
anonymous_bind Anonymously binds to LDAP directory.
bind Binds to the LDAP directory.
close Close the connection.
compare Compare an entry and return a true or false result.
connect Connect to server.
create Create a new DN.
delete Deletes a given DN from the tree.
generatePassword Generates a LDAP compatible password.
getDN
getErrorMsg Returns the error message.
ipToNetAddress Converts a dot notation IP address to net address (e.g.
LDAPNetAddr extract readable network address from the LDAP encoded networkAddress attribute.
modify Modifies an entry and return a true or false result.
read Read all or specified attributes of given dn.
remove Removes attribute value from given dn and return a true or false result.
rename Rename the entry.
replace Replace an entry and return a true or false result.
search Perform an LDAP search.
setDN Sets the DN with some template replacements.
simple_search Perform an LDAP search using comma seperated search strings.

Importing[edit]

jimport( 'joomla.client.ldap' );

See also[edit]

Template:SeeAlso:JLDAP [Edit See Also]

Examples[edit]

<CodeExamplesForm />