Does anyone know how to check the role of a user after they logged in using the login control
I use the the loggedin method, but do not know how to check the role
Protected Sub Login1_LoggedIn(ByVal sender As Object, ByVal e As System.EventArgs) Handles Login1.LoggedIn
If User.IsInRole("role1") = True Then
Response.Redirect("page1.aspx")
Else
If User.IsInRole("role2") = True Then
Response.Redirect("page2.aspx")
End If
End If
& ...
Go to the complete details ...