ServiceNow GlideUser Explained + Hands-On | User Info & Role Checks | Lecture 16
SkillBridge With Sathvika
0:00 / 0:00
ServiceNow GlideUser Explained + Hands-On | User Info & Role Checks | Lecture 16
416 просмотров · 7 дней назад
SkillBridge With Sathvika
264 подписчика
416 просмотров · 7 дней назад
Learn ServiceNow GlideUser (g_user) from basics to hands-on implementation! 🚀
In this ServiceNow tutorial, we’ll learn about GlideUser, also known as g_user, an important client-side API used to get information about the currently logged-in user and check user roles.
We’ll explore methods such as getUserID(), getUserName(), getFullName(), hasRole(), and hasRoleExactly(), with practical Client Script examples using the Incident table in a ServiceNow Personal Developer Instance (PDI).
⏱️ Timestamps
00:00 Introduction
00:11 GlideForm vs GlideUser
00:42 What is GlideUser (g_user)?
00:58 Understanding the g_user Object
01:05 getUserID()
01:27 Creating a GlideUser Client Script
02:39 Testing getUserID()
03:03 getUserName()
03:17 getFullName()
04:35 hasRole()
05:50 Testing hasRole()
06:41 hasRoleExactly()
06:48 hasRole() vs hasRoleExactly()
07:32 Combining Multiple g_user Methods
07:40 Checking User Name and ITIL Role
09:20 Testing the Practical Example
09:50 Hands-On Task
10:24 GlideUser Recap
10:46 g_form vs g_user
11:02 Next Lecture – Business Rules
📚 In This Video, You'll Learn:
✓ What is GlideUser (g_user)?
✓ How g_user works on the client side
✓ getUserID()
✓ getUserName()
✓ getFullName()
✓ hasRole()
✓ hasRoleExactly()
✓ Checking the currently logged-in user's role
✓ hasRole() vs hasRoleExactly()
✓ Using g_user with Client Scripts
✓ Combining user information and role checks
✓ Practical GlideUser examples in PDI
✓ g_form vs g_user
✓ Important ServiceNow interview concepts
In the next lecture, we’ll move to Business Rules and begin working with ServiceNow server-side scripting.
If you found this video helpful, please Like, Share & Subscribe to SkillBridge With Sathvika for more ServiceNow tutorials, hands-on projects, interview preparation, and job updates.
Keep Learning. Keep Practicing. 🚀
#ServiceNow #ServiceNowTutorial #GlideUser #g_user #ServiceNowClientScripts #ServiceNowDeveloper #ServiceNowScripting #ServiceNowPDI #ServiceNowInterview #ServiceNowForFreshers #ServiceNowJobs