Skip to content

Commit 0d20b8a

Browse files
authored
README.md
1 parent f77e0bc commit 0d20b8a

File tree

1 file changed

+4
-0
lines changed
  • Specialized Areas/Fix scripts/Remove Admin Role from All Non-Privileged Users

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This script is used in ServiceNow to remove the admin role from all users except the one running the script.
2+
It's typically used during a security audit or access cleanup to ensure that only authorized users retain administrative access.
3+
By targeting the sys_user_has_role table and checking for the admin role, it deletes role assignments for all users except the current user, helping reduce the risk of
4+
unauthorized changes or privilege misuse in the system.

0 commit comments

Comments
 (0)