ServiceQuery
API reference › LDAP › ServiceQuery
Rejects incomplete paged results so partial directory reads cannot look like a completed synchronization.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
run() | Runs an LDAP query and checks the server’s paging response when paging is requested. | ServiceQuery |
Method details
Section titled “Method details”run()
Section titled “run() ”public function run(string $filter): mixedRuns an LDAP query and checks the server’s paging response when paging is requested.
Parameters
| Parameter | Type | Description |
|---|---|---|
$filter | string | LDAP filter to execute. |
Returns
mixed: Native search result, unchanged when paging is not requested.
Throws
DirectoryUnavailableException: if a requested page fails or does not carry a paging cookie.