r p

r p

  • NA
  • 343
  • 0

Reading the ROLE of the person when Logging in

Dec 9 2008 12:43 PM

I am using LoginView Control for my e-Commercen site.
When the user logs in I want to check the ROLE of the person who is logging in.
If he/she is an ADMIN, I want to redirect the page to
"~/xyz/Admin/Default.aspx" or if he is an ordinary user,I want to redirect the page to


"~/xyz/Customers/Default.aspx"
How can I read the role when someone logs in using my LoginView control?
Thanks,
 


Answers (1)