From ea8a0b441659b423491358cbe2e071da5d154020 Mon Sep 17 00:00:00 2001 From: Ice Lake <30789544+istiak101@users.noreply.github.com> Date: Fri, 2 Sep 2022 15:16:14 +0600 Subject: [PATCH] docs: change to username --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3558d30..117dd97 100644 --- a/README.md +++ b/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")