wix-users-backend
The wix-users-backend module contains functionality for working with your site's users from backend code. Learn more.
Additional information about this section
Store values associated with an object
- badges
The Badges API contains functionality for working with member badges from backend code.
- currentUser
Gets the current user viewing the site.
- roles
The Roles API contains functionality for working with member roles from backend code.
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.
Related Content