# User Management from Perspective Client Session

**URL:** <https://forum.inductiveautomation.com/t/user-management-from-perspective-client-session/40908>\
**Category:** Ignition\
**Created:** [November 23, 2020, 11:07pm UTC](https://forum.inductiveautomation.com/t/user-management-from-perspective-client-session/40908 "2020-11-23T23:07:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rbabcock](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rbabcock/32/13425_2.png) [@rbabcock](https://forum.inductiveautomation.com/u/rbabcock)\
**Post date:** [November 24, 2020, 11:57am UTC](https://forum.inductiveautomation.com/t/user-management-from-perspective-client-session/40908/2 "2020-11-24T11:57:40Z")

</div>

You can use system.user.editUser, just use system.security.getUsername to get the currently logged in user. The docs have an example that should tell you everything you need to know about the scripting aspect.

[https://docs.inductiveautomation.com/display/DOC81/system.user.editUser](https://docs.inductiveautomation.com/display/DOC81/system.user.editUser)  
[https://docs.inductiveautomation.com/display/DOC81/system.security.getUsername](https://docs.inductiveautomation.com/display/DOC81/system.security.getUsername)

Edit: There’s also a session property that has the username: auth.user.userName

---

_[View the full topic](https://forum.inductiveautomation.com/t/user-management-from-perspective-client-session/40908)._
