- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-18-2024 05:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2024 02:10 AM - edited ‎06-19-2024 02:12 AM
Hi Sarah,
I believe, if you are trying to update the OOTB roles that have been inherited from other roles, then it could lead to an issue with the access to other applications.
To answer your query you can definitely remove the roles - Open the role ->check the related list and edit the role.
Once the role is removed from here, the inherited role will also be removed.
So ideal solution would be to remove the roles from the user and add individual required roles only, that are needed.
If my response has resolved your query, please consider giving it a thumbs up ‌‌ and marking it as the correct answer‌‌!
Thanks & Regards,
Sanjay Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-18-2024 05:06 AM
Hi @Sarah Bouil
Inherited from User or Role?
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-18-2024 05:17 AM
Hi Atul,
Thank you for you quick reply. The aqcc_admin role contains aqcc_tl role. I need to remove aqcc_tl role from user but the role is inherited from aqcc_admin. So if I remove aqcc_admin role(parent role) then the aqcc_tl will remove from user automatically. I need to do this with script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-18-2024 05:45 AM
Hi @Sarah Bouil
Thanks for details. As per best practice, a role need to give to group not to user, so if you want to remove the role from user, better to do at group level.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-18-2024 06:08 AM
Yeah, thanks for the details. So it's already given roles to users explicitly. So we are verifying the users who was not logined to the system 30 days and need to remove role explicitly added or parent roles as well. I need to do this with script.