i am using the asp.net membership that ships with asp.net-mvc sample app. how do i set certain users up as an Admin role versus a regular Member role?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I suppose the way is like Asp.NET WebForms:
Take a look here http://quickstarts.asp.net/QuickStartv20/util/srcview.aspx?path=~/aspnet/samples/security/Add_Delete_UserRoles.src and here http://quickstarts.asp.net/quickstartv20/aspnet/doc/security/membership.aspx for samples.