Amit Gujarathi
Giga Sage
Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
â04-02-2021
11:18 PM
Servicenow GlideUser API
The GlideUser API provides access to information about the current user and current user roles.
Using the GlideUser API avoids the need to use the slower GlideRecord queries to obtain user information.
In this Video, understanding of GlideUser API, g_user in ServiceNow object, glideuser ServiceNow methods and gliduser API ServiceNow properties has been shared. Along with this code snippet demo is also given for the same.
Methods
1. getDisplayName()
2. getDomainDisplayValue()
3. getEmail()
4. getFirstName()
5. getID
6. getLastName()
7. getMyGroups()
8. getName()
9. getRoles()
10. getUserByID (String id)
11. getUserRoles()
12. hasRole(String role)
13. isMemberOf(String group)
If this video is helpful then, please do not forget to like, subscribe and share my youtube channel TechnoMonk.
Thankyou!!!
- 1,491 Views
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
