# Set User Privileges

Users need appropriate privileges to create and manage VPN Gateways. The VPN Gateway has a specific group privilege called **Access and manage VPN Gateway**. When you enable this privilege for a group, its members inherit it through group settings, allowing them to manage the VPN gateways.

{% hint style="info" %}
**Prerequisite:** Make sure you have one or more **Groups** in the **User Manager**. To create one, see [<mark style="color:blue;">Create a group</mark>](/cloud/set-up-ionos-cloud/management/identity-access-management/user-management.md#create-a-group).
{% endhint %}

To set user privileges to manage VPN Gateways, follow these steps:

1\. In the DCD, go to **Menu** > **Management** > **Users & Groups**.

2\. Select the **Groups** tab in the **User Manager** window.

3\. Select the appropriate group to assign relevant privileges.

4\. In the **Privileges** tab, select **Access and manage VPN Gateway**.

{% hint style="info" %}
**Note:** You can remove the privileges from the group by clearing **Access and manage VPN Gateway**.
{% endhint %}

![Set User Privileges](/files/6Ol9Tcd0Eyvb6gJH7ASr)

{% hint style="success" %}
**Result:** The privilege to manage VPN Gateways is granted to all the members in the selected group.
{% endhint %}

## Revoke user privileges

You can revoke a user's **Access and manage VPN Gateway** privilege by removing the user from all the groups that have this privilege enabled.

{% hint style="warning" %}
**Warning:** You can revoke a user from this privilege by disabling **Access and manage VPN Gateway** for every group the user belongs to. In this case, all the members in the respective groups would also be revoked from this privilege.
{% endhint %}

To revoke this privilege from a contract administrator, disable the administrator option on the user account. On performing this action, the contract administrator gets the role of a contract user, and the privileges that were set up for the user before being an administrator will then be in effect.


---

# 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.ionos.com/cloud/network-services/vpn-gateway/dcd-how-tos/set-user-privileges-vpn-gateway.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.
