The Current Member API allows you to interact with the currently logged-in site member.
With the Current Member API you can:
- Get the current member’s information
- Check the member’s roles
- Adjust the visibility of their profile in the site’s Members Area
It’s important to note the following points before starting to code:
- Install the Wix Members Area app from Wix App Market.
- Current Member: The site visitor who is currently logged in as a member.
- Role: A label or permission group assigned to members that can be used to control access to content or features.
- Public Profile: A profile that is visible to other members and site visitors.
- Private Profile: A profile that is hidden from other site visitors and members.