November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
I think you have to set the asp.net auth cookie and possibly refresh the page for it to work. If you use the aspnet Login control at least the first part will be handled automatically.
Hi,
I am trying to login a valid user and then retrieve the users information, but gets null value according to the code below:
--------------------------------------------
IUser user;
SecurityHandler.Instance.AuthenticateUser(LoginUnameBox.Text, LoginPasswBox.Text, out user); //user is ok with correct data
user = CommunitySystem.CurrentContext.DefaultSecurity.CurrentUser; <----------- Current user is null.