Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Added Pagination while searching users. #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ArchTaqi
Copy link

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;

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. So added Multi page search to the lib. below is the the code to call this func
```php
        $users = $this->zendLdap->multiPageSearch($filter, $baseDn, $scope, $fields);
        return $users;
```
@weierophinney
Copy link
Member

This repository has been closed and moved to laminas/laminas-ldap; a new issue has been opened at laminas/laminas-ldap#1.

@weierophinney
Copy link
Member

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants