Actions

API17

Difference between revisions of "JLDAP"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 6: Line 6:
 
===Defined in===
 
===Defined in===
 
libraries/joomla/client/ldap.php
 
libraries/joomla/client/ldap.php
 +
* see source code in [[jplatform:client/ldap.php|BitBucket]]
 
===Subpackage===
 
===Subpackage===
 
[[Subpackage Client/11.1|Client]]
 
[[Subpackage Client/11.1|Client]]
Line 87: Line 88:
 
<source lang="php">jimport( 'joomla.client.ldap' );</source>
 
<source lang="php">jimport( 'joomla.client.ldap' );</source>
 
===See also===
 
===See also===
 +
* JLDAP source code in [[jplatform:client/ldap.php|BitBucket]]
 
* [[JLDAP|Other versions of this class]]
 
* [[JLDAP|Other versions of this class]]
 
{{SeeAlso:JLDAP}}
 
{{SeeAlso:JLDAP}}

Revision as of 17:59, 23 April 2011

Replacement filing cabinet.png
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.

[Edit Descripton] Description:JLDAP

Defined in

libraries/joomla/client/ldap.php

Subpackage

Client

Extends

JObject

Extended by

Methods

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

jimport( 'joomla.client.ldap' );

See also

SeeAlso:JLDAP [Edit See Also]

Examples

<CodeExamplesForm />