# User Management component: limiting roles assignment

**URL:** <https://forum.inductiveautomation.com/t/user-management-component-limiting-roles-assignment/10983>\
**Category:** General Discussion\
**Created:** [January 4, 2016, 4:18pm UTC](https://forum.inductiveautomation.com/t/user-management-component-limiting-roles-assignment/10983 "2016-01-04T16:18:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [January 4, 2016, 4:18pm UTC](https://forum.inductiveautomation.com/t/user-management-component-limiting-roles-assignment/10983/1 "2016-01-04T16:18:57Z")

</div>

Hi,  
when I add a user by means of the User Management component I’m presented with the whole list of roles which were defined on the gateway: is there a way to let only some roles show up in that list?

Thank you in advance  
regards

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [January 4, 2016, 5:27pm UTC](https://forum.inductiveautomation.com/t/user-management-component-limiting-roles-assignment/10983/2 "2016-01-04T17:27:23Z")

</div>

Yes, see the “filterRole” extension function
