# User Management component can create duplicate users

**URL:** <https://forum.inductiveautomation.com/t/user-management-component-can-create-duplicate-users/9443>\
**Category:** Ignition\
**Created:** [December 14, 2014, 3:26pm UTC](https://forum.inductiveautomation.com/t/user-management-component-can-create-duplicate-users/9443 "2014-12-14T15:26:05Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pat](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@Pat](https://forum.inductiveautomation.com/u/Pat)\
**Post date:** [December 14, 2014, 3:26pm UTC](https://forum.inductiveautomation.com/t/user-management-component-can-create-duplicate-users/9443/1 "2014-12-14T15:26:05Z")

</div>

It’s possible for the User Management component to create duplicate users. The problem seems to be that when the User Management component is checking for valid user names it’s only validating against the user names it has loaded. So the problem arises when you filter out a user names. When you filter out user names, the User Management doesn’t check those filtered out names because they are not loaded into the User Management component. This also makes me wonder it’s possible to create duplicate users without filter out names, such as in a case where two clients have the User Management component opened and they both try to create the same user name at the same time.

This is possible using a database User Source, I did not check this against other User Source types.

I created a work around for the time being, but it might be good to update the User Management component so that it checks the User Source before saving a new user.

---

<div class="post-metadata">

**Author:** ![Paolo.Mariani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paolo.mariani/32/3285_2.png) [@Paolo.Mariani](https://forum.inductiveautomation.com/u/Paolo.Mariani)\
**Post date:** [February 24, 2015, 5:59pm UTC](https://forum.inductiveautomation.com/t/user-management-component-can-create-duplicate-users/9443/2 "2015-02-24T17:59:37Z")

</div>

Hey Pat,

So I was able to replicate this and have submitted a bug report for the developers to fix. I’ll let you know when I hear something.

---

<div class="post-metadata">

**Author:** ![Paolo.Mariani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paolo.mariani/32/3285_2.png) [@Paolo.Mariani](https://forum.inductiveautomation.com/u/Paolo.Mariani)\
**Post date:** [May 18, 2015, 5:07pm UTC](https://forum.inductiveautomation.com/t/user-management-component-can-create-duplicate-users/9443/3 "2015-05-18T17:07:52Z")

</div>

So just to give you an update, looks like this problem has been marked as fixed for 7.7.5

---

<div class="post-metadata">

**Author:** ![Pat](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@Pat](https://forum.inductiveautomation.com/u/Pat)\
**Post date:** [May 19, 2015, 5:19pm UTC](https://forum.inductiveautomation.com/t/user-management-component-can-create-duplicate-users/9443/4 "2015-05-19T17:19:52Z")

</div>

Thanks for the update

---

<div class="post-metadata">

**Author:** ![salbrechtsen](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/salbrechtsen/32/18660_2.png) [@salbrechtsen](https://forum.inductiveautomation.com/u/salbrechtsen)\
**Post date:** [December 19, 2017, 7:21pm UTC](https://forum.inductiveautomation.com/t/user-management-component-can-create-duplicate-users/9443/5 "2017-12-19T19:21:09Z")

</div>

I am having this same issue in 7.9.5.

---

<div class="post-metadata">

**Author:** ![Paolo.Mariani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paolo.mariani/32/3285_2.png) [@Paolo.Mariani](https://forum.inductiveautomation.com/u/Paolo.Mariani)\
**Post date:** [December 19, 2017, 8:55pm UTC](https://forum.inductiveautomation.com/t/user-management-component-can-create-duplicate-users/9443/6 "2017-12-19T20:55:02Z")

</div>

I was not able to replicate the original issue described in this post in 7.9.5. Could you give a little more detail on what you are doing? Or if you want, call or email in to support and they can take a closer look at what you are seeing.

---

<div class="post-metadata">

**Author:** ![salbrechtsen](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/salbrechtsen/32/18660_2.png) [@salbrechtsen](https://forum.inductiveautomation.com/u/salbrechtsen)\
**Post date:** [December 19, 2017, 9:11pm UTC](https://forum.inductiveautomation.com/t/user-management-component-can-create-duplicate-users/9443/7 "2017-12-19T21:11:45Z")

</div>

Our user component is filtering users using the filterUser extension function. We are using the Manage Users mode. When I add a new user with a username that I know already exists, but is filtered out, it allows me to type the username and displays the green check next to the username input field. I can then click the save button, and the slider moves back to the list of users. Initially, I thought it was actually creating a duplicate user, but it appears it is not. However, it is still allowing me to type a duplicate username and the green checkmark appears.

---

<div class="post-metadata">

**Author:** ![Paolo.Mariani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paolo.mariani/32/3285_2.png) [@Paolo.Mariani](https://forum.inductiveautomation.com/u/Paolo.Mariani)\
**Post date:** [December 19, 2017, 9:16pm UTC](https://forum.inductiveautomation.com/t/user-management-component-can-create-duplicate-users/9443/8 "2017-12-19T21:16:28Z")

</div>

Ah I see. Yeah, it should at the very least throw an error if you try to click the save button. I’ll look into having that implemented.

---

<div class="post-metadata">

**Author:** ![salbrechtsen](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/salbrechtsen/32/18660_2.png) [@salbrechtsen](https://forum.inductiveautomation.com/u/salbrechtsen)\
**Post date:** [January 5, 2018, 3:52pm UTC](https://forum.inductiveautomation.com/t/user-management-component-can-create-duplicate-users/9443/9 "2018-01-05T15:52:00Z")

</div>

Do you have any update on this issue?

---

<div class="post-metadata">

**Author:** ![Paolo.Mariani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paolo.mariani/32/3285_2.png) [@Paolo.Mariani](https://forum.inductiveautomation.com/u/Paolo.Mariani)\
**Post date:** [January 5, 2018, 4:17pm UTC](https://forum.inductiveautomation.com/t/user-management-component-can-create-duplicate-users/9443/10 "2018-01-05T16:17:43Z")

</div>

I submitted the bug report, but no timeline on a fix just yet.
