# User Security - User name only with numbers

**URL:** <https://forum.inductiveautomation.com/t/user-security-user-name-only-with-numbers/19137>\
**Category:** Ignition\
**Created:** [August 8, 2018, 11:42am UTC](https://forum.inductiveautomation.com/t/user-security-user-name-only-with-numbers/19137 "2018-08-08T11:42:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![michal.koblasa](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@michal.koblasa](https://forum.inductiveautomation.com/u/michal.koblasa)\
**Post date:** [August 8, 2018, 11:42am UTC](https://forum.inductiveautomation.com/t/user-security-user-name-only-with-numbers/19137/1 "2018-08-08T11:42:07Z")

</div>

Hello,  
in our company we use user identification only with numbers. For example user name is: 321  
In ignition project we want to use same system.

But when im creating new user in ignition, user form forces me to use one letter at start of user name, so i can enter “U123” but not “123”.

I tried to change user name later directly in database (from U123 to 132), and it works fine at first look.

It is possible to change settings of user form, so i can create user name with numbers only directly?  
Is there any problem for Ignition to rewrite user name to number only in DB, will this cause some issues elsewhere?

Thank you

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [August 8, 2018, 2:09pm UTC](https://forum.inductiveautomation.com/t/user-security-user-name-only-with-numbers/19137/2 "2018-08-08T14:09:08Z")

</div>

Yikes. I looked up the regex we’re using for name validation, and it’s really restrictive. As you’ve found out, you are required to start with a 7-bit ASCII letter.

The two places we validate user names are the gateway’s user edit form and the User Management component in vision, so if you try to edit users in one of those places the validation will fail. That validation is not editable by the user (you). A quick glance at the code doesn’t show any obvious problems from using only digits other than that.

---

<div class="post-metadata">

**Author:** ![alfred\_dussault](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@alfred\_dussault](https://forum.inductiveautomation.com/u/alfred_dussault)\
**Post date:** [January 16, 2019, 5:44pm UTC](https://forum.inductiveautomation.com/t/user-security-user-name-only-with-numbers/19137/3 "2019-01-16T17:44:43Z")

</div>

Hi Kathy,  
Are there any plans to update that regex to allow a number as the first character?  
I’m in the same boat.
