# Getting a list of users that are logged in?

**URL:** <https://forum.inductiveautomation.com/t/getting-a-list-of-users-that-are-logged-in/7692>\
**Category:** Ignition\
**Created:** [December 11, 2013, 7:38pm UTC](https://forum.inductiveautomation.com/t/getting-a-list-of-users-that-are-logged-in/7692 "2013-12-11T19:38:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![drewdin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drewdin/32/3363_2.png) [@drewdin](https://forum.inductiveautomation.com/u/drewdin)\
**Post date:** [December 11, 2013, 7:38pm UTC](https://forum.inductiveautomation.com/t/getting-a-list-of-users-that-are-logged-in/7692/1 "2013-12-11T19:38:42Z")

</div>

Is there a way of getting a list of users and what terminals they are logged into? I know I can get a full list of users but I wanted to know who exactly was logged into what computers or just a list of users at least.

Does anyone know of a way to get this info? Thanks

---

<div class="post-metadata">

**Author:** ![Duffanator](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/duffanator/32/3560_2.png) [@Duffanator](https://forum.inductiveautomation.com/u/Duffanator)\
**Post date:** [December 11, 2013, 8:08pm UTC](https://forum.inductiveautomation.com/t/getting-a-list-of-users-that-are-logged-in/7692/2 "2013-12-11T20:08:48Z")

</div>

You can put this code on a button or something and populate a table on the same window (in this case the table name is ‘SessionTable’). I use this to see who has active clients open and what IP addresses those clients are open on.

[code]# Get list of active sessions on node and populate the table on

# the right with session list.

table = event.source.parent.getComponent(“SessionTable”)  
sessions = system.util.getSessionInfo()  
table.data = system.db.toDataSet(sessions)[/code]

---

<div class="post-metadata">

**Author:** ![drewdin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drewdin/32/3363_2.png) [@drewdin](https://forum.inductiveautomation.com/u/drewdin)\
**Post date:** [December 11, 2013, 8:22pm UTC](https://forum.inductiveautomation.com/t/getting-a-list-of-users-that-are-logged-in/7692/3 "2013-12-11T20:22:42Z")

</div>

Awesome, that’s exactly what i needed!!
