Xion Blueraven
New Member
I would like authenticate the user based on User.Identity.Name and get the other detail from SQL Server database like Role and last loggedin date, etc.After login i should authorize the same user for subsequent calls without hitting database.However i hit and load the user information at initial login and i stored in session.Here is my SQL TableApplicationUser
- UserId -> windows identity name mapping stored here
- Display Name
- RoleId
- LastLoginDate
- IsActive