Friends,
Looking for some help in below situation:
A user of the systems has multiple roles -- Role A and Role B.
With Role A -- a user can access views -- PageA, PageB.
With Role B -- a user can access views -- PageP, PageQ.
I have a user with both Roles -- Role A and Role B with default Role as Role A. Problem: When a user is logged into the system with both roles and Default Role as Role A user should be able to access views -- PageA & PageB. I would like to have a drop down in the layout to show the roles of that user. When the role in the dropdown is changed to Role B then user should be able to access views PageP & PageQ and vice-versa.
Is it possible to do it using a Custom Role Provider and windows authentication with Asp.Net MVC ?
Any ideas are welcome.
Thanks in Advance, DC