# 用户组

在管理面板中，班级是平台范围内的组，用于组织用户以便于管理。它们与课程级别的组（由教师在课程内创建）不同。

> 用户组和[班级](/2.x-zh-cn/guan-li-zhi-nan/admin-guide/sessions/classes.md)共享相同的界面。唯一的区别在于**组类型**设置：选择“班级”来创建班级（用于批量会话注册），或选择“用户组”来创建更具社交性质的组，这些组可以在内部社交网络中拥有自己的空间。有关会话注册的详细信息，请参见[班级](/2.x-zh-cn/guan-li-zhi-nan/admin-guide/sessions/classes.md)。

## 创建组

![用户组列表，显示可用组的名称、描述和成员数量](/files/WeHcWMp9kmBLPkAKC7UG)

1. 从管理面板导航到**班级**
2. 点击**添加班级**
3. 输入**标题**和可选的**描述**
4. 如果这是一个社交组，请勾选**社交组**。如果是班级，则不勾选。
5. 添加可选的参考URL和图片/标志。
6. 选择组的**权限**：
   * **开放** — 任何用户都可以加入
   * **封闭** — 用户必须由管理员添加
7. 勾选是否允许成员自行离开班级。
8. 保存。

## 添加成员

1. 打开班级/用户组列表
2. 点击用户图标**将用户订阅到班级**
3. 按姓名、用户名或电子邮件搜索用户
4. 使用右侧的箭头选择要添加的用户
5. 点击确认按钮保存

## 使用场景

* **部门组织** — 按部门或团队对用户进行分组
* **批量注册** — 一次性将组内所有成员添加到课程或会话中
* **定向沟通** — 向特定组发送公告
* **报告** — 按组筛选查看培训进度

## 管理组

* **编辑** — 更改组名称、描述或可见性
* **管理成员** — 添加或删除成员
* **删除** — 删除组（不会删除成员账户）


---

# 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/2.x-zh-cn/guan-li-zhi-nan/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.
