How To Export Associated Groups & Roles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2023 08:42 AM
I'm trying to obtain an excel spread sheet of all the groups, child groups, and their associated/inherited roles. Is there a way to export some file showing these relationships?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2023 04:00 PM
Dear @MrDevanWright
Please use this table to get group and all roles associated with it.
https://dev×××××.service-now.com/sys_group_has_role_list.do
- Kailas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 09:17 AM
sys_group_has_role.list is great! That gets me the closest to what I am looking for. Can you think of any way to show any potential child groups and their assigned roles?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2023 04:20 PM - edited 05-19-2023 04:16 PM
As you want excel spread sheet for the group and their associated roles.
Please create a database view on the basis of Group [ sys_user_group], Group Member [sys_user_grmember_list] and Roles [sys_group_has_role] table and once database view is created, right click on the any column in the list and export it.