- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2018 09:01 AM
Hi all,
Is there a method for retrieving the user_name directly from gs.getUser() ?
There are a number of methods described here. They cover the sys_id of the user record, and various other fields, but not that actual user_name:
Ihttps://docs.servicenow.com/bundle/jakarta-application-development/page/app-store/dev_portal/API_reference/glideUserScoped/concept/c_GlideUserScopedAPI.html#ariaid-title6
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2018 09:38 AM
use gs.getUserName()
more info - https://www.servicenowguru.com/scripting/user-object-cheat-sheet/

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2018 09:38 AM
use gs.getUserName()
more info - https://www.servicenowguru.com/scripting/user-object-cheat-sheet/

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2018 09:53 AM
wowwwwww....lol
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2018 09:45 AM
Hi,
Check out this handy document. I use it a for reference quite a bit:
https://www.servicenowguru.com/scripting/user-object-cheat-sheet/
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!