> Portal Navigation:
>
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt
## Resource: Roles
## Article: Introduction
## Article Link: https://dev.wix.com/docs/velo/apis/wix-groups-v2/roles/introduction.md
## Article Content:
---
title: Introduction
---
# Introduction
Developer Preview
APIs in Developer Preview are subject to change and are not intended for use in production.
Send us your suggestions for improving this API. Your feedback is valuable to us.
> **Note:** This module is
> [universal](/api-overview/api-versions#universal-modules).
> 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](https://www.wix.com/velo/reference/wix-members-v2).
With the Roles API, you can:
- [Assign](/roles/assign-role) a role to specific group members.
- [Unassign](/roles/unassign-role) a role from specific group members.
> **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.
```javascript
import { roles } from 'wix-groups.v2';
```
## Before you begin
Before you begin coding, make sure to add the [Wix Groups](https://support.wix.com/en/article/wix-groups-adding-and-setting-up-wix-groups) application to your site.
## Terminology
- **Site Admin**: A site owner or site collaborator with admin permissions.
- **Group Member**: A site member belonging to a group.
- **Group Admin**: A group member that was assigned the 'group admin' role by either the site admin, or another group admin. The creator of a group is automatically a group admin. The group admin has the same permissions as a site admin, but only for the specified group.