Â
Â
Note: This module is universal. Functions in this module can run on both the backend and frontend, unless specified otherwise.
The Roles API provides functionality for managing roles of group members.
With the Roles API, you can:
Note: This module is only relevant for site admins and group admins.
To use the Roles API, import { roles }
from the wix-groups.v2
module.
Before you begin coding, make sure to add the Wix Groups application to your site.