# Inviting Users to an Organization

If you are an `orgadmin`, `securityadmin`, or `useradmin`, you can invite people to join your organization. This tutorial demonstrates how to use the DeltaStream Web application to send invitations.

### Invite a User <a href="#invite_a_user" id="invite_a_user"></a>

1. Towards the top of the screen, use the **Org** and **Role** dropdown menus to select the organization and role you want.<br>

   <figure><img src="/files/XIy2uMVZBqfkXIG4LghA" alt="" width="375"><figcaption><p>Selecting an organization and a role</p></figcaption></figure>
2. Verify that your role has been granted the **MANAGE\_MEMBERS** privilege. The built-in `useradmin` and `orgadmin` roles have this privilege by default. In the left-hand navigation, toward the bottom, hover over the **Profile** icon, and from the menu that displays click **Access Control**.<br>

   <figure><img src="/files/l7wuOlu2xVxLoc1SmocO" alt="" width="375"><figcaption><p>Accessing the Access Control Page</p></figcaption></figure>
3. When the **Access Control** page displays, click **Users**, and then click **Invite User**. The **Invite User** box displays.
4. Complete the requested information, including any additional roles you wish to grant them.
   1. In the **Granted Roles** drop-down menu, click each role you wish to assign them. When you’re done, click outside the menu to close it. If you select a role in error, simply click it again and DeltaStream removes it from the list.
5. Click to select the role you wish this person to have when they first log on to DeltaStream
6. When you’re done, click **Add**. The person’s email address now displays in the I**nvited Users** section.

{% hint style="success" %}
**Tip** If you wish to invite an additional `orgadmin`, set the **Default Login Role** to `sysadmin` and **Granted Roles** to `orgadmin`.
{% endhint %}

### Cancelling an Invitation

If you've invited someone in error, it's easy to change your mind and revoke an invitation. To do this:

1. Under **Invited Users**, find the person you wish to uninvite.
2. Click **Cancel Invite**.
3. At the **Revoke Invitation** prompt, enter the person’s email address and click **Delete**.\
   The system displays a message alerting you that the person’s invitation was revoked, and removes their name from the **Invited Users** list.

<figure><img src="/files/ccyvNpK78K6CTAYlEhMp" alt=""><figcaption><p>Revoking an invitation</p></figcaption></figure>

{% hint style="info" %}
**Note** You can also delete a pending invitation via the DeltaStream CLI. To do this, use the [`REVOKE INVITATION` command](/reference/sql-syntax/command/revoke-invitation.md):

```sql
REVOKE INVITATION 8f7a4504-ce64-4ee3-a9b5-227925e9dq44;
```

{% 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://docs.deltastream.io/how-do-i.../roles/invite-user.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.
