This project is read-only.

How to check user and its roles in ASP.NET Identity 2.0

Aug 27, 2014 at 10:53 AM
I want to use Identity 2.0 in my project , i'm new to ASP.NET Identity 2.0, plz tell me how to use identity 2.0 with my sql server database and tell actually where username and its roles are retrieved from database and check in c# code. how to pass table names like UserProfile and UserRole to identity code.

Please do reply

If anyone had working code of Identity 2.0 only login page and home page with role based authorization .

Aug 28, 2014 at 6:46 PM
On an empty project install the Microsoft.AspNet.Identity.Samples package. This is a sample web application with Identity that has roles and user profile configured
Sep 6, 2014 at 4:10 PM
Edited Sep 8, 2014 at 4:46 PM
(comment removed)