Your are developing asp.net mvc application in which you want to allow access of certain method in your controller class to a role named client which attribute or code snippet you can use to achieve this goal?

 Posted by Rajkatie on 2/21/2015 | Category: ASP.NET MVC Interview questions | Views: 5454 | Points: 40
Select from following answers:
  1. [Authorize(Roles=”client”)]
  2. [AuthorizeAttribute(Roles=”client”)]
  3. RoleProvider.GetRolesForUser(“client”)
  4. All Above

Show Correct Answer


| Alert Moderator 

Comments or Responses

Login to post response