Skip to content

Commit 314d8ca

Browse files
authored
Create README.md
1 parent 49ccc34 commit 314d8ca

File tree

1 file changed

+9
-0
lines changed
  • Server-Side Components/Background Scripts/Auto-Deactivate Users Not Logged In for X Days

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# 🧹 ServiceNow Dormant User Cleanup
2+
3+
A lightweight **ServiceNow Background Script** to automatically **deactivate users** who haven't logged in for a specified number of days.
4+
5+
## 🚀 Usage
6+
1. Navigate to **System Definition → Scripts - Background**.
7+
2. Paste the script and execute:
8+
```javascript
9+
deactivateDormantUsers(90);

0 commit comments

Comments
 (0)