1
Answer

Reading the ROLE of the person when Logging in

r p

r p

16y
2k
1

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)