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!
|