Medium
You have developed an ASP.NET site that is configured to use the Membership and Role providers.
You need to check that the current user is a member of the "Administrator" role, how can you do this?
Author: Nicolas LaurentStatus: PublishedQuestion passed 405 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
2
What interface should I implement to make my class serializable in .NET?1
Use web forms routing and set the Render outer table property to false for all Form View controls.2
How to get the first element of an array in C#2
Create a MasterPage called Layout.master with two ContentPlaceholder controls to represent the two variable areas of the page.,Create the web pages using the following directive below:5
Add the following event handler:1
Create a controller named "UsersController", with an action "Index".,In the Index.cshtml file, define the following directive @model MvcApplication.Model.User3
How to get the first element of an array in C#