November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Hi Quan,
Thanks for the reply.
Unfortunately, the userContact.PrimaryKeyId does not contain the "username" nor the membershipGUID. It is completely the same as the value that I had originally (from CurrentPrincipal.GetUserGuid), So I can't use it to retrieve data from Membership.
It is the GUID of the episerver contact, not the membership.
Can you try with CustomerContext.GetUserForContactId(PrimaryKeyId) to see if it works for you?
(Btw- mentioning the version in your post will be a big help ;) )
/Q
Hi,
I need to get the membership user and I have the EPiServer.Security.PrincipalInfo.CurrentPrincipal.GetUserGuid() in a variable.
I tried Membership