protected void LoginFace_Authenticate(object sender, AuthenticateEventArgs e) { if ((bool)Session["Autentica"]) { CDIProvider_RoleService.RoleService rsp = new CDIProvider_RoleService.RoleService(); if (rsp.IsUserInRole(LoginFace.UserName, "w03")) { e.Authenticated = true; Session["User"] = LoginFace.UserName.ToUpper(); Response.Redirect("Digitalizacion.aspx"); } else { e.Authenticated = true; Response.Redirect("SinPermiso.aspx"); } } else { e.Authenticated = false; } }