Role Based Access Control in ASP.NET MVC
In this post, Premier Developer consultant Lizet Pena De Sola explains Role Based Access Control in ASP.NET MVC.
Role Based Access Control in MVC is pretty straight forward. There is also a way to do claims access control, but the most common way is based on roles. To show or hide action links in a view depending on the user role we can use the following Razor syntax on your Views:
Read the rest on Lizet Pena De Sola’s blog here.