The process to deactivate user accounts on our site could use some “simplification.”
My question, is there a way to write a script (add a button to click on user’s admin page or a place to enter user name) to execute:
- rename user: add “_inactive” following current username
- Turn Trust Level to 0
- Suspend user indefinitely
- Place user in group: former employees
- Deactivate user
Is there any way to do something like this outside of the console?