Author: mgp22 | Posted on: 7/29/2009 2:39:59 PM | Views : 468

Even when I have logged in, and, as the code below shows, am authenticated and online, GetUser()  with no overloads returns NULL.     HELP PLEASE..!
?User.Identity
AuthenticationType: "Forms"
IsAuthenticated: true

?Membership.GetUser("mgp22")
    CreationDate: {7/29/2009 4:38:29 PM}
    IsApproved: true
    IsLockedOut: false
    IsOnline: true
    ProviderName: "AspNetSqlMembershipProvider"
    UserName: "mgp22"


UPDATE:  For some reason, after I deleted and recreated the accounts in the Web Site Admin tool, the problem has gone away...  Don't know why!  but happy .

...

Go to the complete details ...