API17:JLDAP::compare
From Joomla! Documentation
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::compare
Description
Compare an entry and return a true or false result.
Description:JLDAP::compare [Edit Descripton]
Synopsis
public JLDAP::compare ($dn, $attribute, $value)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $dn | string | dn The DN which contains the attribute you want to compare | |
| $attribute | string | attribute The attribute whose value you want to compare | |
| $value | string | value The value you want to check against the LDAP attribute |
Returns
mixed result of comparison (true, false, -1 on error)
Defined in
libraries/joomla/client/ldap.php (line 305)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
