I have an Asp.Net MVC project that uses Individual User Account with Owin . Everything is working perfectly, but I would like to get the user type ( role
) in View
.
Home
I'm using Request.IsAuthenticated
to know if the user is authenticated, so is there any way to get the roles
of the user?