In my ASP.NET MVC4 application, i am using Windows Authentication and want to restrict access of controller action methods for various roles. Something like:
[Authorize(Roles="Administrator")]
public ActionResult Index(){...}
Note: The user list and their corresponding roles are saved in the SQL Server database.
I dint find the perfect solution till now. All were with Forms Authentication. Please help in implementing this.