# User Groups

Classes in the administration panel are platform-wide groups used to organize users for management purposes. They are distinct from course-level groups (which are created by teachers within a course).

> User groups and [Classes](/administration-guide/admin-guide/sessions/classes.md) share the same interface. The only difference is the **group type** setting: choose "Class" to create a class (used for bulk session enrollment), or "User group" for more social groups that can have their own space in the internal social network. See [Classes](/administration-guide/admin-guide/sessions/classes.md) for details on session enrollment.

## Creating a Group

![The user groups list showing available groups with name, description, and member count](/files/pTSDFTVSEQBTxb2QK5un)

1. From the administration panel, navigate to **Classes**
2. Click **Add classes**
3. Enter a **title** and optional **description**
4. Check **Social group** if this will be a social group. Leave unchecked if it will be a class.
5. Add an optionali reference URL and picture/logo.
6. Choose the group **permissions**:
   * **Open** — Any user can join
   * **Closed** — Users must be added by an administrator
7. Check if you want members to be able to leave the class by themselves.
8. Save.

## Adding Members

1. Open the list of classes/user groups
2. Click the user icon **Subscribe users to class**
3. Search for users by name, username or email
4. Select the users to add, using the arrows to the right side
5. Click the confirmation button to save

## Use Cases

* **Department organization** — Group users by department or team
* **Bulk enrollment** — Add all members of a group to a course or session at once
* **Targeted communication** — Send announcements to specific groups
* **Reporting** — View training progress filtered by group

## Managing Groups

* **Edit** — Change the group name, description, or visibility
* **Manage members** — Add or remove members
* **Delete** — Remove the group (does not delete the member accounts)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chamilo.org/administration-guide/admin-guide/users/user-groups.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
