Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# XscorX 11/5/2007 2:30 PM
I am trying to find the acces lvl of the cuyahoga user accessing this control

I tried this code but it throughs a null pointer exception
protected void Page_Load(object sender, EventArgs e)
{
     if (!this.IsPostBack)
     {
          if (Context.User != null)
          {
                if (!Context.User.Identity.IsAuthenticated)
                {
                        /// do
                 }
           }
      }
}

i do not know where did i go wrong please help
# martijnb 11/5/2007 7:29 PM
Can you check if the Context.User is a CuyahogaPrincipal? If so, we have to look for an issue with the Cuyahoga implementation.