# Get Users with Roles - ReVisit

**URL:** <https://community.auth0.com/t/get-users-with-roles-revisit/183658>\
**Category:** Get Help\
**Tags:** users, management-api\
**Created:** [March 10, 2025, 8:22pm UTC](https://community.auth0.com/t/get-users-with-roles-revisit/183658 "2025-03-10T20:22:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amed](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/amed/32/60634_2.png) [@amed](https://community.auth0.com/u/amed)\
**Post date:** [March 10, 2025, 8:22pm UTC](https://community.auth0.com/t/get-users-with-roles-revisit/183658/1 "2025-03-10T20:22:44Z")

</div>

I was reading this thread: [Get users AND all assigned roles](https://community.auth0.com/t/get-users-and-all-assigned-roles/32854)

Is it still the way to get Users with their Roles?

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [March 11, 2025, 3:23pm UTC](https://community.auth0.com/t/get-users-with-roles-revisit/183658/3 "2025-03-11T15:23:36Z")

</div>

Hi @amed

Welcome back to the Auth0 community!

Yes, the user’s roles are retrieved via the [/roles](https://auth0.com/docs/api/management/v2/users/get-user-roles) endpoint as mentioned in our [documentation](https://auth0.com/docs/api/management/v2/users/get-user-roles).

As an alternative, you can set [custom claims](https://auth0.com/docs/secure/tokens/json-web-tokens/create-custom-claims) in order to have those roles sent via the access token so that they are accessible after login without making an API call.

If you have any other questions, feel free to leave a reply!

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 25, 2025, 3:24pm UTC](https://community.auth0.com/t/get-users-with-roles-revisit/183658/4 "2025-03-25T15:24:22Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
