# system.perspective.getSessionInfo(username) to get current username?

**URL:** <https://forum.inductiveautomation.com/t/system-perspective-getsessioninfo-username-to-get-current-username/32864>\
**Category:** Ignition\
**Created:** [March 5, 2020, 11:51pm UTC](https://forum.inductiveautomation.com/t/system-perspective-getsessioninfo-username-to-get-current-username/32864 "2020-03-05T23:51:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tmahaffey](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tmahaffey/32/30949_2.png) [@tmahaffey](https://forum.inductiveautomation.com/u/tmahaffey)\
**Post date:** [March 5, 2020, 11:51pm UTC](https://forum.inductiveautomation.com/t/system-perspective-getsessioninfo-username-to-get-current-username/32864/1 "2020-03-05T23:51:33Z")

</div>

I set up this function and was only able to get it to retrieve a whole array of usernames currently logged in and a bunch of other information that I am not looking for. What is the easiest way to retrieve the current username enacting something on the client? I’m looking to integrate the username into a dataset for their in-house note-keeping.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 5, 2020, 11:56pm UTC](https://forum.inductiveautomation.com/t/system-perspective-getsessioninfo-username-to-get-current-username/32864/2 "2020-03-05T23:56:54Z")

</div>

You want to use [session properties](https://docs.inductiveautomation.com/display/DOC80/Session+Properties#SessionProperties-SessionPropertiesTable).
