# UserGroups: Nextcloud Nextcloud User Groups
## Documentation
Groups a user is a member of, one row per user and group. Insert adds the user to a group. A membership cannot be removed with a delete statement, because a row is identified by the user and the group together rather than by a single value.
- Catalog: `Nextcloud`
- Schema: `Nextcloud`
- Label: Nextcloud User Groups
- Retrieve: True
- Insert: True
- Update: False
- Delete: False
## Columns of Table Function
The columns of the table function `UserGroups` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `group_id` | `varchar2` | | ☑ | Identifier of the group the user is a member of. Required on insert. |
| `user_id` | `varchar2` | | ☑ | Login name of the user. Required on insert, never a value it writes. |