# User Management make user inactive

**URL:** <https://forum.inductiveautomation.com/t/user-management-make-user-inactive/22858>\
**Category:** Ignition\
**Created:** [February 25, 2019, 5:14pm UTC](https://forum.inductiveautomation.com/t/user-management-make-user-inactive/22858 "2019-02-25T17:14:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![juang](https://avatars.discourse-cdn.com/v4/letter/j/9dc877/32.png) [@juang](https://forum.inductiveautomation.com/u/juang)\
**Post date:** [February 25, 2019, 5:14pm UTC](https://forum.inductiveautomation.com/t/user-management-make-user-inactive/22858/1 "2019-02-25T17:14:36Z")

</div>

Hi, i’m trying to make a user inactive in the user management, i don’t know if it is possible as it seems that it is not so fat. the problem is if i see all the users we will end up with too many user in a couple years, as employee turnaround is inevitable. and we can’t delete user as the actions taken in the system are all audited and most actions have a userid, deleting a user won’t be allowed by a constraint in SQL.  
so has anybody been able to make a user inactive? if so how?

Thank you.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [February 25, 2019, 6:39pm UTC](https://forum.inductiveautomation.com/t/user-management-make-user-inactive/22858/2 "2019-02-25T18:39:02Z")

</div>

What about making a role called “active”, then using the “active” role as a requirement to launch the project (or make changes).

---

<div class="post-metadata">

**Author:** ![juang](https://avatars.discourse-cdn.com/v4/letter/j/9dc877/32.png) [@juang](https://forum.inductiveautomation.com/u/juang)\
**Post date:** [February 25, 2019, 6:43pm UTC](https://forum.inductiveautomation.com/t/user-management-make-user-inactive/22858/3 "2019-02-25T18:43:23Z")

</div>

Thanks it would help some for now that idea, so i might implement, problem is that they will still show up in the user management, so the list will keep growing and growing. but it would help at least to prevent unauthorized access.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 25, 2019, 6:51pm UTC](https://forum.inductiveautomation.com/t/user-management-make-user-inactive/22858/4 "2019-02-25T18:51:27Z")

</div>

You could extend the idea to an additional column in the database (it seems like you’re using a DB user source). Then you could switch to ‘manual’ mode and adjust the DB queries to only pull in users that are ‘active’, and only allow authentication if the ‘active’ column is also set to true:  
[https://docs.inductiveautomation.com/display/DOC79/Database+Authentication#DatabaseAuthentication-ManualMode](https://docs.inductiveautomation.com/display/DOC79/Database+Authentication#DatabaseAuthentication-ManualMode)
