protected
void SetDestinationUrl(object sender, EventArgs e)
{
TextBox txtBox = (TextBox)LoginUser.FindControl("UserName"); if (Roles.IsUserInRole(txtBox.Text, "Guest"))
Response.Redirect(
"UserIndex.aspx");
if (Roles.IsUserInRole(txtBox.Text, "Administrator"))
"AdminIndex.aspx");
}
The above code is showing me error by saying "The type or namespace anme IsUserInRole does not exist....."
Kindly help me out of it..