- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2019 07:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2019 07:31 AM
var user_sys_id = '5f42ea14db79df40b1bd553fdf961939'
var grUser = new GlideRecord('sys_user');
grUser.get(user_sys_id);
gs.info(grUser.name);
Vinod Kumar Kachineni
Community Rising Star 2022
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2019 07:31 AM
var user_sys_id = '5f42ea14db79df40b1bd553fdf961939'
var grUser = new GlideRecord('sys_user');
grUser.get(user_sys_id);
gs.info(grUser.name);
Vinod Kumar Kachineni
Community Rising Star 2022
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2019 09:29 AM
Thanks I've been going round in circles and this was what I was looking for.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2019 07:37 AM
I'm guessing this for from a reference field or service catalog variable. You could use g_form.getReference to pull info from the field or of you are just getting another filed you could do g_form.getValue('field name').getDisplayValue(). These are both client side. Can you provide more clarity on what you are trying to do as on service side scripting like BR your could dot walk. current.filed_name.name.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2021 04:55 AM
Pretty old thread, but could be still helpful if someone is looking for a one-line solution.
gs.getUser().getUserByID(usersSysId).getRecord().getValue('name');
Remark: Not working in scoped apps.