Click here to Skip to main content
15,881,715 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

In my MVC Application I want to work on Custom Authorization Attribute. The Scenario is,
I am having a users Table with the Roles like "Admin","Support Engineer" and "Users". In my another table I am having the roles for the users like "Team Lead", "Developer", "Group Head" etc.
Now in my custom Authorization method I need to check whether the logged in user has the role of user, If yes then I want to check the role of that user in another table and I want to give the Access permission to the user for Accessing that page. How to do this one can any one help me to do this method.

Thanks
Posted
Comments
Maciej Los 9-May-14 16:33pm    
What have you done till now? Where are you stuck?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900