- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2017 05:56 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2017 06:03 AM
See below link:
How to check what roles were assigned to a user?
How to query a certain user's role
Thank you,
Ashutosh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2017 06:01 AM
Hi Satish,
If this is on client side then we can g_user API.
You can use g_user.hasRole('itil') for single role and for multiple role you can use g_user.hasRoles('itil','admin');
This is applicable if he is logged in.
If he is not logged in then you have to use script include and Client script to check roles.
in script include you can use.
gs.hasRole OR gs.hasRoles
or you can query below table and get role of user:
sys_user_has_role
Thank you,
Ashutosh Munot

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2017 06:03 AM
See below link:
How to check what roles were assigned to a user?
How to query a certain user's role
Thank you,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2017 06:12 AM
Thank you...got my answer