You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
Hi,
I am trying to do some pagination without a success. I read a lot of posts, but I can't find a concrete answer.
My scenario is very simple:
I have AD with 2000 users, I want use findUsers() function and get only 200 users at a time,
so I configured: General AD config:
activeDirectoryConfig.paged = true; Opt config:
opts.paging = {
pageSize: 200,
};
Now I am getting the first 200 users (1-200), but how can I get the next 200 users (201-400)? What is the correct way to tell findUsers() to give me the next page (to start the fetching from offset 201 and not 0)?
Thanks,
BTW I am using activedirectory2@2.0.0.
Hi,
I am trying to do some pagination without a success. I read a lot of posts, but I can't find a concrete answer.
My scenario is very simple:
I have AD with 2000 users, I want use findUsers() function and get only 200 users at a time,
so I configured:
General AD config:
activeDirectoryConfig.paged = true;
Opt config:
opts.paging = {
pageSize: 200,
};
Now I am getting the first 200 users (1-200), but how can I get the next 200 users (201-400)? What is the correct way to tell findUsers() to give me the next page (to start the fetching from offset 201 and not 0)?
Thanks,
BTW I am using activedirectory2@2.0.0.