# Getting the UserUID or UserName

**URL:** <https://forum.servoy.com/t/getting-the-useruid-or-username/8572>\
**Category:** Classic Servoy\
**Created:** [January 3, 2008, 7:15am UTC](https://forum.servoy.com/t/getting-the-useruid-or-username/8572 "2008-01-03T07:15:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Infop](https://avatars.discourse-cdn.com/v4/letter/i/58956e/32.png) [@Infop](https://forum.servoy.com/u/Infop)\
**Post date:** [January 3, 2008, 7:15am UTC](https://forum.servoy.com/t/getting-the-useruid-or-username/8572/1 "2008-01-03T07:15:37Z")

</div>

Hi,

Can I get the UserUID or User Name of the currently logged user?

Actually, I need to know that, throughout running of the application, I need to get the UserUID or User Name of the currently logged in User. So, Servoy maintain or holds it for us(if yes, How can I get the same?) or I have to do manually for the above?

Thanks

---

<div class="post-metadata">

**Author:** ![Infop](https://avatars.discourse-cdn.com/v4/letter/i/58956e/32.png) [@Infop](https://forum.servoy.com/u/Infop)\
**Post date:** [January 3, 2008, 7:40am UTC](https://forum.servoy.com/t/getting-the-useruid-or-username/8572/2 "2008-01-03T07:40:52Z")

</div>

Ahh, Got that…

```auto
security.getUserName(security.getUserUID());

```

Great… ![:wink:]( "Wink")

Thanks
