Link to home
Start Free TrialLog in
Avatar of sanagarwl
sanagarwl

asked on

Role based Authorization (User.IsInRole("Administrator"))

I have recently inherited an existing system and I need to access the User.IsInRole function from with the Authenticate method -- is this possible.

Once the Authenticate method is executed User object is always available but is *not* populated when one tries to access it in the Authenticate method itself.

The application uses the in built login controls. the environment is .net 2.0.

thanks

ASKER CERTIFIED SOLUTION
Avatar of tiagosalgado
tiagosalgado
Flag of Portugal image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial