Hi guys,
In the Members/PrivateMembersData collection that you all have, there’re 2 fields that I’d like to understand:
ID
[userId]
Every user has an ID, but only part of the users have [userId];
Now, when I retrieve the wixUsers.currentUser.id using code, sometimes it is the ID, and in other cases it’s the [userId]. Can anyone explain what exactly the differences and how can I compare the currentUser.id to the collection data?
@givemeawhisky , thanks, but couldn’t find there anything about the relations between the member ID field in the Members/PrivateMembersData and the id retrieved from wixUser.currentUser.id.
Am I missing something?
Hello, not sure if my question is related to this thread, but I was directed here by Wix team via the support ticket i sent them. I’d like to know why is it that in preview mode user Id shows:
17200000-020c-4d18-9d6e-f296e3df2664
and live site shows:
a9cf5553lkj4b855cc87da103d6ce6b28af9ff91142df079f17e3590a3a9bfd99048ac36a6fdcd656bcefca28069b2621e60994d53964e647acf431e4f798bcd6lkj83222796e0af925bb7efc5bd34e2d7a265bda8225ca2104626f26487398a
I use wixUsers.currentUser.Id to generate those.
Thanks!