mortenstarck
mortenstarck

Reputation: 2803

Custom MVC4 Authorization Role Management

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.

Upvotes: 1

Views: 5089

Answers (1)

mortenstarck
mortenstarck

Reputation: 2803

I needed a MembershipProvider and a RoleProvider. Also, I needed to add an extra value to my SetAuthCookie.

Upvotes: 3

Related Questions