Keycalok user role mapping and getting user info


1.I have 10 users under realm, how to check which user is admin using restapi… Is there any way that i can say this user is admin.

  1. How to get the roles associated to the all user using keycloak rest api call.

I searched this question everywhere but nowhere I’m getting the answer. Please comment if you know the way to do these. Thank you.