how to give authorize to admin users in asp.net

Posted by Sumesh.Nair under ASP.NET on 5/8/2013 | Points: 10 | Views : 1328 | Status : [Member] | Replies : 1
hi guys
i want to know that how to give authorization to admin user

i have three user's i.e. normal user, moderator user, admin user
if the normal user post some question in the page then the moderator should have the authorization of checking and correcting the questions and the admin should have the authorization to manage all the questions in the site
actually its a forum like site

Regards,
Sumesh Nair



Responses

Posted by: Kmandapalli on: 5/9/2013 [Member] Silver | Points: 25

Up
0
Down
Hi,

You can perform it using roles authentication.
Go through the following link, it will help you out..........

http://www.asp.net/web-api/overview/security/authentication-and-authorization-in-aspnet-web-api

Regards,
Shree M.

Kavya Shree Mandapalli

Sumesh.Nair, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response