Skip to content

Commit 807e0aa

Browse files
authored
Readme.md
Delete Inactive Users Without Login History
1 parent 3d9e365 commit 807e0aa

File tree

1 file changed

+8
-0
lines changed
  • Server-Side Components/Background Scripts/Delete Inactive Users Without Login History

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
Delete Inactive Users Without Login History
3+
4+
This ServiceNow background script identifies and deletes inactive users who have never logged into the system. It's useful for cleaning up unused accounts and maintaining a secure, lean user base.
5+
6+
- Identify users marked as `active = false`
7+
- Check if they have any login records in the `syslog` table
8+
- Delete users who have no login history

0 commit comments

Comments
 (0)