Note: This module is universal. Functions in this module can run on both the backend and frontend, unless specified otherwise.
The Members API allows you to create and manage a site's members.
With the Members API, you can:
To use the Members API, import { members }
from the wix-members.v2
module.
It’s important to note the following points before starting to code:
The following functions in Members are restricted and only run if you elevate permissions
using the wix-auth
elevate()
function:
Warning: Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.