- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Which one of the following is NOT a GlideUser API (g_user) method ?
getFullName(),
hasRoleExactly(),
hasRole(),
UserName(),
HasMultipleRoles
what will be the answer if select only 1 or select 2
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hello @DwarkamaiH,
g_user.UserName()– ❌ Not valid. The correct property isg_user.userName(lowercase “u” and not a method).g_user.HasMultipleRoles– ❌ Not valid. There is no such method or property in the GlideUser API.
Thanks
SP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
UserName() - Wrong Method
HasMultipleRoles - Not a GlideUser method at all.
Please select both the option 2
Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
58m ago
Hi @DwarkamaiH,
the best way to learn is to search by yourself rather than to ask strangers online and memorise what they say... trust in yourself more than in others!
To see the correct answer, refer to this GlideUser - Client
100 % GlideFather experience and 0 % generative AI
