API17:JLDAP::compare
From Joomla! Documentation
JLDAP::compare
Description
Compare an entry and return a true or false result.
public function 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 on line 305 of libraries/joomla/client/ldap.php
See also
JLDAP::compare source code on BitBucket
Class JLDAP
Subpackage Client- Other versions of JLDAP::compare
User contributed notes
Code Examples