# User management component

**URL:** <https://forum.inductiveautomation.com/t/user-management-component/6430>\
**Category:** Ignition\
**Created:** [May 9, 2013, 4:32pm UTC](https://forum.inductiveautomation.com/t/user-management-component/6430 "2013-05-09T16:32:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BrentAdams](https://avatars.discourse-cdn.com/v4/letter/b/c67d28/32.png) [@BrentAdams](https://forum.inductiveautomation.com/u/BrentAdams)\
**Post date:** [May 9, 2013, 4:32pm UTC](https://forum.inductiveautomation.com/t/user-management-component/6430/1 "2013-05-09T16:32:01Z")

</div>

Is there some way I could disable the Save Button on the “Users/edit User” screen for every one except Admins?

I’d like to let everyone view, but only people in the admin role actually SAVE changes.

Cheers,  
/BA

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [May 9, 2013, 6:44pm UTC](https://forum.inductiveautomation.com/t/user-management-component/6430/2 "2013-05-09T18:44:13Z")

</div>

Use system.security.getRoles to return the role for the currently logged in user. It would look something like this:

`if "Administrator" in system.security.getRoles():
    some.additional.script`

[inductiveautomation.com/support/ … troles.htm](http://inductiveautomation.com/support/usermanuals/ignition/system_security_getroles.htm)
