Remove role from user

Sarah Bouil
Tera Expert

How to remove a parent role if inherited from user?

1 ACCEPTED SOLUTION

Community Alums
Not applicable

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.

SanjayG_0-1718788166268.png

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

View solution in original post

6 REPLIES 6

Dr Atul G- LNG
Tera Patron
Tera Patron

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]

****************************************************************************************************************

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.

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]

****************************************************************************************************************

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.