View Single Post
  #9 (permalink)  
Old 03-31-2008, 10:44 PM
S.Vinothkumar S.Vinothkumar is offline
D-Web Genius
 
Join Date: May 2007
Posts: 1,061
S.Vinothkumar is on a distinguished road
Cool Re: How to Implementing Role Based Security in ASP.NET

Role based security and Forms authentication

If you are authenticating users via Forms authentication then you need to take care of some extra steps. These steps are:

- Create a user identity
- Create an array of roles
- Create a principal based on user identity and list of roles
- Attach the principal to the current authenticated user
__________________
S.VinothkumaR
Behind me is infinite power,
Before me is Endless Possibility,
Around me is Boundless Opportunity,
Why should I fear!
Reply With Quote