# User Source table-Authentication issue

**URL:** <https://forum.inductiveautomation.com/t/user-source-table-authentication-issue/67021>\
**Category:** Ignition\
**Created:** [November 29, 2022, 11:27am UTC](https://forum.inductiveautomation.com/t/user-source-table-authentication-issue/67021 "2022-11-29T11:27:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krishnapriya\_K\_S](https://avatars.discourse-cdn.com/v4/letter/k/cab0a1/32.png) [@Krishnapriya\_K\_S](https://forum.inductiveautomation.com/u/Krishnapriya_K_S)\
**Post date:** [November 29, 2022, 11:27am UTC](https://forum.inductiveautomation.com/t/user-source-table-authentication-issue/67021/1 "2022-11-29T11:27:53Z")

</div>

Hai ,  
I need to change the column names in the user source table because doing so causes the authentication to fail.

Is it **viable** to **modify** the table?How **am i able to** authenticate?

Thanks in advance,

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 29, 2022, 1:42pm UTC](https://forum.inductiveautomation.com/t/user-source-table-authentication-issue/67021/2 "2022-11-29T13:42:23Z")

</div>

Please provide more information. What you starting with, what changes you are making, and why, at the very least.

---

<div class="post-metadata">

**Author:** ![Krishnapriya\_K\_S](https://avatars.discourse-cdn.com/v4/letter/k/cab0a1/32.png) [@Krishnapriya\_K\_S](https://forum.inductiveautomation.com/u/Krishnapriya_K_S)\
**Post date:** [December 2, 2022, 6:28am UTC](https://forum.inductiveautomation.com/t/user-source-table-authentication-issue/67021/3 "2022-12-02T06:28:41Z")

</div>

When I using the below method to insert the value to empid (newly added column ),  
its not inserting the value to the appropriate field .(which one I newly added column into the user tabel)

# Get new user

userToGet = system.user.getNewUser("AcmeWest", "mTrejo")

# Add some contact info

contactInfo = {"[email":"mTrejo@acmewest.com](mailto:email%22:%22mTrejo@acmewest.com)","sms": "5551234"}  
userToGet.addContactInfo(contactInfo)  
userToGet.set("password", "thisIsMyPassword")

# Add New colmun for empid

userToGet.set("empid", "1000")

# Adds a user to the the AcmeWest usersource.

system.user.addUser("AcmeWest", userToGet)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 2, 2022, 10:12am UTC](https://forum.inductiveautomation.com/t/user-source-table-authentication-issue/67021/4 "2022-12-02T10:12:06Z")

</div>

Well, that function isn't documented to support custom columns in a user source. The User class, while a PropertySet, has a static list of properties exposed. This is a database table. Use database methods to alter its content.
