Click here to Skip to main content
15,789,776 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello good day everyone,
I need help on modifying the .NET Identity Template, so that my ASP.NET Web Forms Application could use a new field I will include as a unique identifier, when registering new users on the site?

Since the Register Template only has three (3) fields viz; USERNAME, PASSWORD, CONFIRM PASSWORD. I would like to include another field, REGISTRATION NUMBER which should be the unique constraint [Request 1]

I have been able to Create the REGISRATION NUMBER field on the Register Page of the Application, however, its values are not even stored in the ASPNETUSERS Table. Any suggestions on how to go about it, please? [Request 2]
j snooze 9-Sep-14 17:09pm    
Add the field to the users table and modify the applicationuser class to have a registration number property.
Arthur Ezenwanne 10-Sep-14 9:21am    
Thank you J Snooze for the insight.

However, concerning my REQUEST 1, could you instruct me on how to change the USERNAME PROPERTY FIELD from being unique on the site and instead make the REGISTRATION NUMBER PROPERTY FIELD to be unique.
j snooze 10-Sep-14 9:23am
Christian Amado 10-Sep-14 10:59am    
There are some articles about this scenario in Google!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900