Zend\Ldap\Ldap::searchEntries
Search LDAP registry for entries matching filter and optional attributes
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 - reverseSort - sizelimit - timelimit
Signature
public function searchEntries(AbstractFilter|array
$filter,
[string|Dn|null
$basedn = null,
[int
$scope = self::SEARCH_SCOPE_SUB,
[array
$attributes = null,
[string|null
$sort = null,
[bool
$reverseSort = false,
[integer
$sizelimit = 0,
[integer
$timelimit = 0]]]]]]] )
Parameters
$filter
— object
$basedn
— object
$scope
— int$attributes
— array$sort
— object
$reverseSort
— object
$sizelimit
— integer$timelimit
— integer
Returns
- array