Zend\Ldap\Ldap::search
A global LDAP search routine for finding information.
Options can be either passed as single parameters according to the method signature or as an array with one or more of the following keys - filter - baseDn - scope - attributes - sort - collectionClass - sizelimit - timelimit
Signature
public function search(AbstractFilter|array
$filter,
[string|Dn|null
$basedn = null,
[int
$scope = self::SEARCH_SCOPE_SUB,
[array
$attributes = null,
[string|null
$sort = null,
[string|null
$collectionClass = null,
[integer
$sizelimit = 0,
[integer
$timelimit = 0]]]]]]] )
Parameters
$filter
— object
$basedn
— object
$scope
— int$attributes
— array$sort
— object
$collectionClass
— object
$sizelimit
— integer$timelimit
— integer
Returns
- Collection