- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2022 02:04 PM
I hope to ask this in a general sense to answer what causes this. When this happens, what usually is the cause? Are you supposed to dot-walk further after g_user.userName?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2022 02:29 PM
Hi,
That will return the user_name field value from the sys_user table. Which is labeled as the "User ID" on that record. If the user_name (User ID) field also contains the sys_id...then of course it'll share that value back. You can review the sys_user record in question for additional information.
Please mark reply as Helpful/Correct, if applicable. Thanks!
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
‎01-26-2022 02:08 PM
Hi,
g_user.userName should return the user name (see below).
If this is not happening for your case, please share more info and the script you use. There might be something else causing the issue in that case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2022 02:12 PM
Things to check:
- Can you check what the display value for your users is? Have you changed this to the ID instead of the user name? Not sure that would cause it, but without additional information you can check if setting that to the user name solves this issue.
- What is the hash value you get? Is it the sys_id? Can you share this for an example user?
- Where are you using this script? Do you see anything in the (system/browser) logs?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2022 02:29 PM
Hi,
That will return the user_name field value from the sys_user table. Which is labeled as the "User ID" on that record. If the user_name (User ID) field also contains the sys_id...then of course it'll share that value back. You can review the sys_user record in question for additional information.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!