A Way to get all the users details ( profile data + roles + groups )

1,126 views
Skip to first unread message

adnan cuskic

unread,
Jul 13, 2022, 3:43:55 AM7/13/22
to Keycloak User
Hellow !

Im making the app in which all the employes and students will be inserted into keycloak.
Im making keymanagment app, which means i will need the list of all the users from realm.
It would be really nice, if there is the way, that myself could not find, to get all the user details ( with roles, groups ) so i could easier manage the stuff. 

So main question: Is it possible to get somehow all the users from realm with roles , without having to custom doing the querys in postgres db. 

(Doing app with C#, angular.)

Current workaround: Added custom attribute to user "roleInCommunity" which i then use in app in table display of users.
Would rather use real roles.

Thanks, Adnan

Ernedin Zajko

unread,
Jul 13, 2022, 3:49:16 AM7/13/22
to adnan cuskic, Keycloak User
Hi Adnan,
check out Admin REST Api:


--- eZ



--
You received this message because you are subscribed to the Google Groups "Keycloak User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-user/bf71967a-7acf-4d98-8b59-c28994e16427n%40googlegroups.com.

adnan cuskic

unread,
Jul 13, 2022, 3:55:47 AM7/13/22
to Keycloak User

GET realm/users does not return the roles of the users in my case.
sreda, 13. julij 2022 ob 09:49:16 UTC+2 je oseba eza...@root.ba napisala:
Reply all
Reply to author
Forward
0 new messages