# Groups

## What it is: "allowed only for group"?

Users can be members of the group.&#x20;

For example, there may be a group of "customers" and "guests." Then you can make sure that guests can not execute client commands.

![Group can be modified on command editing](https://3310729168-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LVh0yg9olT-QWqi3AYt%2F-LWYP2FDk5M7cLPUbnL9%2F-LWYSVIMhBLBV1QcQBuP%2Fimage.png?alt=media\&token=906ce281-0727-40dc-9052-727d5467b298)

{% hint style="info" %}
You can use BJS code for adding user to group:`User.addToGroup(group_name)`&#x20;
{% endhint %}
