Click here to Skip to main content
15,888,293 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I am using using a membership provider API in my ASP.net web app. I made a custom database which contain my TABLES as well as the tables created by running "aspnet_regsql"
Now i need to implement ROLES to my users and allow/deny access to certain pages based on their roles can any body help me out with this.I am fairly new with using ASP membership provider
any suggestions and help is appreciated
thanks in advance
Posted

I think all of the advice you need is in this wonderful multi-part article:

http://www.4guysfromrolla.com/articles/120705-1.aspx[^]

It is a bit old (2005) but it is still very relevant to what you want to do. If you do better with videos and being shown how it works, here is a video on Roles in ASP.NET security:

http://www.youtube.com/watch?v=1v7VXEv-_Cg[^]

This video is part of a series. The other parts will go into details on the other areas of the ASP.NET Membership provider.
 
Share this answer
 
Comments
Manas Bhardwaj 15-Jun-12 6:55am    
Good references. +5!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900