Re: Web-application using ASP.net 3.5
|
Borris O'Reilly |
|
4/29/2008 3:42:32 AM |
Hi you can check the logged in user role in the login control LoggedIn Event handler , then redirect the user based on his role ... Protected Sub Login1_LoggedIn(ByVal sender As Object, ByVal e As System.EventArgs) Handles Login1.LoggedIn If Roles.IsUserInRole(User.Identity.Name, "worker") Then Response.Redirect("~/worker/Default.aspx") ElseIf Roles.IsUserInRole(User.Identity.Name, "manager") Then Response.Redirect("~/admin/Default.aspx") End If End Sub Post Comments |
|
Re: Web-application using ASP.net 3.5
|
Bhairavi Hussain |
|
4/29/2008 3:43:47 AM |
Hi Fione, Please check this thread: http://forums.asp.net/t/1238884.aspx Post Comments |
|
Re: Web-application using ASP.net 3.5
|
Dolphi Powers |
|
4/29/2008 3:46:06 AM |
Fione, Your question is so much appreciated and is benenficial. Post Comments |
|