Skip to content

Add query parameters to User Count endpoint#76

Open
jamesfoster wants to merge 1 commit into
lvermeulen:mainfrom
jamesfoster:patch-1
Open

Add query parameters to User Count endpoint#76
jamesfoster wants to merge 1 commit into
lvermeulen:mainfrom
jamesfoster:patch-1

Conversation

@jamesfoster

Copy link
Copy Markdown

According to the docs (https://www.keycloak.org/docs-api/17.0/rest-api/index.html#_getuserscount) you can a) specify no query parameters to return the count of all users, b) specify the search query parameter to filter by name email and username, or c) specify a combination of email, firstName, lastName, and username to filter the users matching the parameters specified. Although not explicitly stated, I assume this is the same for the "get users" endpoint (https://www.keycloak.org/docs-api/17.0/rest-api/index.html#_getusers)

In this PR I've simply replicated what was there for the GetUsersAsync method for the query parameters declared in the documentation.

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

Successfully merging this pull request may close these issues.

1 participant