I'm trying to create custom Roles for my MVC4 project. But I have found that there's little about it. I have found this example . But are there any other way of defined my own Authorization Roles. Because I liked to get the User Roles from a database instead of the IIS.
Asked
Active
Viewed 5,088 times
1
-
1Take a look to this http://stackoverflow.com/questions/14449499/mvc-4-intranet-authentication-with-custom-roles/14466907#14466907 – Pablo Claus Jan 24 '13 at 11:39
1 Answers
3
I needed a MembershipProvider and a RoleProvider. Also, I needed to add an extra value to my SetAuthCookie.

alex
- 6,818
- 9
- 52
- 103

mortenstarck
- 2,713
- 8
- 43
- 76