# How can I bind the users created in the gateway to dropdown component in perspective

**URL:** <https://forum.inductiveautomation.com/t/how-can-i-bind-the-users-created-in-the-gateway-to-dropdown-component-in-perspective/95002>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 22, 2024, 9:20am UTC](https://forum.inductiveautomation.com/t/how-can-i-bind-the-users-created-in-the-gateway-to-dropdown-component-in-perspective/95002 "2024-08-22T09:20:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sourav\_Garadi](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@Sourav\_Garadi](https://forum.inductiveautomation.com/u/Sourav_Garadi)\
**Post date:** [August 22, 2024, 9:20am UTC](https://forum.inductiveautomation.com/t/how-can-i-bind-the-users-created-in-the-gateway-to-dropdown-component-in-perspective/95002/1 "2024-08-22T09:20:21Z")

</div>

I have users and their roles created in the gateway config section. I want to add those as options in a dropdown component in Ignition perspective.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [August 22, 2024, 10:55am UTC](https://forum.inductiveautomation.com/t/how-can-i-bind-the-users-created-in-the-gateway-to-dropdown-component-in-perspective/95002/2 "2024-08-22T10:55:15Z")

</div>

> **[system.user.getUsers | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-user/system-user-getUsers)**
>
> Retrieves the list of users in a specific user source.

> **[system.user.getRoles | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-user/system-user-getRoles)**
>
> Returns a sequence of strings representing all of the roles configured in a specific user source.
