I\'m trying to add Roles authentication to an Action in a Controller in an ASP.NET MVC application. The code looks something like this:
[Authorize(Roles = \"Some
You can use the various methods on the RoleProvider class in System.Web.Security.Roles.Provider.
See this for more: Role Provider