# Invite User quick link (and user management)

**URL:** <https://meta.discourse.org/t/invite-user-quick-link-and-user-management/117730>\
**Category:** Feature\
**Created:** [14.Май.2019 19:13:58 UTC](https://meta.discourse.org/t/invite-user-quick-link-and-user-management/117730 "2019-05-14T19:13:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Cozdabuch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cozdabuch/32/139120_2.png) [@Cozdabuch](https://meta.discourse.org/u/Cozdabuch)\
**Post date:** [14.Май.2019 19:23:38 UTC](https://meta.discourse.org/t/invite-user-quick-link-and-user-management/117730/2 "2019-05-14T19:23:38Z")

</div>

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:

1. rename user: add “\_inactive” following current username
2. Turn Trust Level to 0
3. Suspend user indefinitely
4. Place user in group: former employees
5. Deactivate user

Is there any way to do something like this outside of the console?

---

_[View the full topic](https://meta.discourse.org/t/invite-user-quick-link-and-user-management/117730)._
