Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetUsers() Documentation should mention that the default result size is 100 #502

Open
theresakern opened this issue Jan 16, 2025 · 0 comments

Comments

@theresakern
Copy link

theresakern commented Jan 16, 2025

When requesting all the Users in a realm, the result only contains the first 100 by default, which is documented by keycloak.

It would be great to add that as a comment to the function, since this could lead to unexpected behaviour when working with supposedly "all" users of a realm and later finding out it was only the first small batch.
Passing the returned number by GetUserCount() as Max to the GetUsersParams enables to actually retrieve ALL users.

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

No branches or pull requests

1 participant