Click here to Skip to main content
15,920,602 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I want to create a new application in MVC 5, where i need to add privileges to users, means based on the permission the Admin/User is going to Access the secure page. I am little bit confusion how to achieve this. Whether by using Role or any other technique is available in MVC.

I have gone through this article
http://typecastexception.com/post/2014/02/19/ASPNET-MVC-5-Identity-Implementing-Group-Based-Permissions-Management-Part-I.aspx

but here the Users are created by using
UserManager.CreateAsync(user, model.Password);
and the password is encrypted. and for maintaing the Roles Is it required to create all the Tables?

Please let me know how to implement this

Thanks
Pradeep
Posted

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