I have Membership
, Profile
and Role
providers setup for my .NET MVC website. I would like to say: this Role
has access to that Page
.
How do I 'inject' this code to the RoleProvider? Or do I have to override it somehow? Any leads?
(Roles are stored in the default ASP.NET SqlRoleProvider, Pages are stored in a seperate SQL database).