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

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 />