# is there a way to get roles for a site member by querying it?

**URL:** <https://forum.wixstudio.com/t/is-there-a-way-to-get-roles-for-a-site-member-by-querying-it/46499>\
**Category:** Ask the community\
**Tags:** technical-talk, wix-members-area, partners\
**Created:** [March 7, 2023, 3:03am UTC](https://forum.wixstudio.com/t/is-there-a-way-to-get-roles-for-a-site-member-by-querying-it/46499 "2023-03-07T03:03:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaosh\_wiixrocket](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/jaosh_wiixrocket/32/91183_2.png) [@jaosh\_wiixrocket](https://forum.wixstudio.com/u/jaosh_wiixrocket)\
**Post date:** [March 7, 2023, 3:03am UTC](https://forum.wixstudio.com/t/is-there-a-way-to-get-roles-for-a-site-member-by-querying-it/46499/1 "2023-03-07T03:03:41Z")

</div>

I know we can get the user role for a site member currently logged in. but how can we query the members database and get the role for all users instead? I need to display the role names in a repeater for the contact/member.
