# Add an Admin User to Project

## Problem

In OpenStack, the default role for a user in a project is a member role *.* This process can be used to elevate the privileges for the user.

## Environment

* Platform9 Managed OpenStack - All Versions
* OpenStack Python CLI Client

## Procedure

1. Source the *.rc* file which has your admin credentials.
2. Obtain the UUID of the user.

{% tabs %}
{% tab title="None" %}

```none
# openstack user list | grep [user_name]
```

{% endtab %}
{% endtabs %}

3. Get the UUID of the project.

{% tabs %}
{% tab title="None" %}

```none
# openstack project list | grep [project_name]
```

{% endtab %}
{% endtabs %}

4. Assign the admin role to the user.

{% tabs %}
{% tab title="None" %}

```none
# openstack role add --user [user_uuid] --project [project_uuid] admin
```

{% endtab %}
{% endtabs %}

## Additional Information

* [Working with OpenStack CLI](https://docs.platform9.com/support/getting-started-with-the-openstack-command-line/)
* [OpenStack CLI commands](https://docs.openstack.org/python-openstackclient/pike/cli/command-list.html#command-list)
* [Understanding OpenStack roles](https://docs.openstack.org/keystone/pike/admin/cli-manage-projects-users-and-roles.html)


---

# 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://platform9.com/kb/pmo/how-to/add-an-admin-user-to-project.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.
