Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2025 02:10 AM
I have gotten the roles assigned to a user.
{{instanceUrl}}/api/now/ui/impersonate/role
{
"result": {
"activeRoles": [
...,
"sn_customerservice_agent",
"sn_customerservice.contact_manager",
"sn_customerservice.csm_workspace_user",
...
],
"roles": [
]
}
}
Are there any REST APIs to get the below information for each role E.g. sn_customerservice.contact_manager?
- Permissions in the role i.e. view, create, update, and delete (all or few).
- The tables that the role applies to. E.g. customer_contact
Solved! Go to Solution.
1 ACCEPTED SOLUTION

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2025 07:13 AM
I don't believe there is an API for that, but you could possibly write a scripted REST API to do it.
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2025 07:13 AM
I don't believe there is an API for that, but you could possibly write a scripted REST API to do it.