zend-ldap
zend-ldap copied to clipboard
Added Pagination while searching users.
Adding feature to search user with pagination?
- [ ] Why is the new feature needed? What purpose does it serve?
Most of Active directory has a limit of request users like 1k or 5k and if you need to get more users like 10k we need to use search and get users data with pagination.
- [ ] How will users use the new feature?
$users = $this->zendLdap->multiPageSearch($filter, $baseDn, $scope, $fields);
return $users;
This repository has been closed and moved to laminas/laminas-ldap; a new issue has been opened at https://github.com/laminas/laminas-ldap/issues/1.
This repository has been moved to laminas/laminas-ldap. If you feel that this patch is still relevant, please re-open against that repository, and reference this issue. To re-open, we suggest the following workflow:
- Squash all commits in your branch (
git rebase -i origin/{branch}
) - Make a note of all changed files (`git diff --name-only origin/{branch}...HEAD
- Run the laminas/laminas-migration tool on the code.
- Clone laminas/laminas-ldap to another directory.
- Copy the files from the second bullet point to the clone of laminas/laminas-ldap.
- In your clone of laminas/laminas-ldap, commit the files, push to your fork, and open the new PR. We will be providing tooling via laminas/laminas-migration soon to help automate the process.