Office Document APIs for .NET
ITIL Career Advice
PMP Career Advice
Android Intel XDK
Welcome Guest !
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?
on 2/21/2015 | Category:
ASP.NET MVC Interview questions
| Views: 6094 |
Select from following answers:
Authorize attribute handles authorization on a controller, where RoleProvider.GetRolesForUser(“client”) gets the list of roles for the user that is passed in as a parameter.
Show Correct Answer
< Previous :
Which methods of the RoleProvider class determine ...
Next > :
What kind of helper methods does WebSecurity class ...
Comments or Responses
Login to post response
More Interview Questions by Rajkatie
What kind of helper methods does WebSecurity class provide?
Which method of FormsAuthentication class you can use to register the ...
Your newly developed web application in ASP.Net MVC have found major b ...
Your company has assigned one task to you in which you have to improve ...
Your company has assigned task to assess its web application as a user ...
You have already develop ASP.Net MVC Web application. you have to work ...
You have assigned task to add watermark to all the images in ASP.Net w ...
Your company have already built web application in ASP.Net .Now your t ...
Latest Interview Questions
What is the alter native for sqldatareader in ADO.NET for connection w ...
which is the first event which gets triggers or fires in an Aspx Page?
Which is used to validate complex string pattern like an e-mail addres ...
We can manage states in Asp.Net Application using?
Which DLL translates XML to SQL in IIS?
What type of join is required when we want to include rows that do not ...
Fetching both current date and time in MySql is called as?
Fetching only time in MySql is called as?