# Populate drop down list with logged in users

**URL:** <https://forum.inductiveautomation.com/t/populate-drop-down-list-with-logged-in-users/10760>\
**Category:** Ignition\
**Created:** [November 9, 2015, 1:07pm UTC](https://forum.inductiveautomation.com/t/populate-drop-down-list-with-logged-in-users/10760 "2015-11-09T13:07:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![the\_newb](https://avatars.discourse-cdn.com/v4/letter/t/9de0a6/32.png) [@the\_newb](https://forum.inductiveautomation.com/u/the_newb)\
**Post date:** [November 9, 2015, 1:07pm UTC](https://forum.inductiveautomation.com/t/populate-drop-down-list-with-logged-in-users/10760/1 "2015-11-09T13:07:08Z")

</div>

Hi, I’m trying to populate a drop down list with the usernames of the users who are currently logged into the gateway.

Anyone know how to get that?

Thanks.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 9, 2015, 1:17pm UTC](https://forum.inductiveautomation.com/t/populate-drop-down-list-with-logged-in-users/10760/2 "2015-11-09T13:17:29Z")

</div>

You can use [runScript()](https://docs.inductiveautomation.com/display/DOC/runScript?src=contextnavpagetreemode) to create a suitable dataset with the information extracted from [getSessionInfo()](https://docs.inductiveautomation.com/display/DOC/system.util.getSessionInfo?src=contextnavpagetreemode).
