- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour 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
48m ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
UserName()❌ (should begetUserName())HasMultipleRoles❌ (no such method)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
var formalName = g_user.getFullName();
var isItil = g_user.hasRole('itil');
var isInternal = g_user.hasRoleExactly('snc_internal', true);
var userName = g_user.userName;
alert('Current user = ' + userName);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
1. UserName() is invalid.
2. HasMultipleRoles() is invalid.
************************************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
