Browse Source
Merge pull request #374 from istiak101/patch-1
Docs: Change to username
pull/379/head
Richard Nemeth
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
README.md
|
|
@ -191,8 +191,8 @@ count_users = keycloak_admin.users_count() |
|
|
|
# Get users Returns a list of users, filtered according to query parameters |
|
|
|
users = keycloak_admin.get_users({}) |
|
|
|
|
|
|
|
# Get user ID from name |
|
|
|
user_id_keycloak = keycloak_admin.get_user_id("example@example.com") |
|
|
|
# Get user ID from username |
|
|
|
user_id_keycloak = keycloak_admin.get_user_id("username-keycloak") |
|
|
|
|
|
|
|
# Get User |
|
|
|
user = keycloak_admin.get_user("user-id-keycloak") |
|
|
|