The wix-users-backend module contains functionality for working with your site's users from backend code. Learn more.
Additional information about this section
Perform actions on an object
- approveByEmail( )
Approve a member whose status is "Pending" using an email address.
- approveByToken( )
Approve a member whose status is "Pending" using an approval token.
- blockByEmail( )
Blocks a member from logging into the site.
- deleteUser( )
Deletes an existing user.
- emailUser( )
Sends a Triggered Email to the specified site member.
- generateSessionToken( )
Create a session token for a member authenticated by a 3rd party.
- getUser( )
Gets an existing user by ID.
- login( )
Logs a user in based on email and password.
- register( )
Registers a new site member.
- updateUserFields( )
Updates an existing user by ID.