# Users group

<figure><img src="/files/Gvu37Txxx8GHUamzfKhh" alt="" width="563"><figcaption></figcaption></figure>

Each group is identified with name, number of users, number of child group and parent group.

The "Users" column show the number of users associated with this group. The "child group" column show the number of subgroups" related to the main group. For the subgroups the "Parent group"column show the name of the main group.

### Create user group

Is possible to add a group by clicking the "Add" button, entering the name and the description of the group. It's also possible to create a subgroup, linked to the main group.

<figure><img src="/files/Dhwq2KAlT7lrj93NgHSG" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="danger" %}
Note that delete groups also delete all the subgroups related
{% endhint %}

### Create user subgroup

Is possible to add a subgroup by clicking the "Add" button, entering the name and the description of the group and select a parent group from the existing ones.

<figure><img src="/files/Twjw31D5hootDLc9iAET" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="warning" %}
The parent group can be assigned only at creation time and cannot be changed later
{% endhint %}

### Add users to groups

Once the user group is created, it's possible to add users to the group, by tiping the name of the user.

<figure><img src="/files/Azi9xKQjsrFuSi8LQjS0" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/AdQekz7KwkPQn8YwlgiQ" alt="" width="375"><figcaption></figcaption></figure>

While adding a user to a group, the system allows to remove personal permission.

{% hint style="warning" %}
If personal permissions are not reset during group assignment, the user will retains both Personal permissions, and permissions inherited from the assigned group/subgroup
{% endhint %}

### Users group permission management

Once the user group is created, a  functionality allows to grant specific permissions to the group. You can define on which bot the group can access in the same way as the permission are granted to a singol user.

The subgroup inherit the permission assigned to the main group, but's it's possible to assign different permission.

{% hint style="warning" %}
Subgroup permissions can only be a subset of the parent group's permissions
{% endhint %}


---

# 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://40factory.gitbook.io/wilson/3.10/wilson-academy/settings-1/user-management-2.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.
