Author: mko | Posted on: 2/8/2010 2:19:02 PM | Views : 303

When I add
 if (Context.User != null)
            {
                if (Context.User.Identity.IsAuthenticated)
                {
                    if (!(Context.User is AdministratorPrincipal))
                    {
                       Admin.Web.Principal.AdministratorPrincipal newUser = new Admin.Web.Principal.AdministratorPrincipal(Context.User.Identity.Name);
           ...

Go to the complete details ...