# Security Editor

## Overview

The **Security Editor** is a tool designed to manage users and their access permissions within a system. It allows administrators to assign or remove permissions for different roles and manage user accounts, including creating new users and deleting existing ones. The editor provides a straightforward interface for controlling access rights and maintaining security by organizing and displaying user details and their associated permissions.

## Defining User and Group Security

User groups are established within the **User and Group Security** project, located under the **Resources** node in the Solution Explorer.

* To manage user groups, double-click the **User and group security node** (or alternatively, right-click and select **Edit users/groups** from the context menu). The **User/Group Editor** will open in the editor area, with the group information showing on the left box and the user information showing on the right table.

<figure><img src="/files/iZkwCvHm0Ehpp5DpkF7b" alt=""><figcaption><p>User and Group Security</p></figcaption></figure>

* The **Administrators** group is a predefined group that comes with the resources project. To add a new group, enter a new group name in the text box at the upper left corner of the editor and click on **New Permissions**. The new group will appear on the left column.
* To add a new user to the list, enter the user name in the text box at the upper right corner of the editor and click on **New User**. The new user will appear on the list, where the desired password can be entered. Upon saving the editor, (**CTRL-S** or **Cmd-S**) a *UID* will be assigned to the new users.
* To add a user to a group, select the desired group name and then check the box next to the user name.
* All changes in this editor must be saved using **File > Save** or the shortcuts **CTRL-S** / **Cmd-S**.

For more information about setting security properties for a solution, visit the chapter on [Managing Security Settings](/reference/servoyextensions/modules/home-6/overview.md).


---

# 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.servoy.com/reference/servoy-developer/object-editors/security-editor.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.
