Wix Member Area: filter a Dataset by the Owners ID

You’ve probably figured it out by now, but if not you can try this:

const user = wixUsers.currentUser; 
const email = await user.getEmail();  
const member = await wixData.query('Members/PrivateMembersData').eq("loginEmail", email).find(); 

Then use whichever field you want from the member.

Best,
Darryl