I am creating an Asp.net MVC application, and currently I'm using the built-in authentication / authorization code that comes with the MVC sample application. For the most part, this works fine, and I understand what is happening.
As for me, this is what I now want, as it were, for my users to be stored in two different tables in two databases. that is, I have users in my application database that represent the "Client" object in the application, as well as the "User" in the authentication database that was used to log into the application.
Should I take the value of the user User.Identity.Name to log in and look in the table of my clients or should I combine them into one table? What is the best way to handle this?
Please forgive my ignorance - this is the first time I work with such a system.
Any feedback is greatly appreciated!
source
share