# User Management

Gophish supports user accounts with different roles. Right now, we offer two separate roles that can be assigned to users:

* **User** - This role allows the user to do anything *except* system-level administrative tasks, such as managing users, managing webhooks, etc.
* **Admin** - This is a system-level administrative role that has full permissions to manage the Gophish installation

To register new user accounts and manage existing ones, login as an administrative user and navigate to the "User Management" page:

![](/files/-MB6skcOUyzKrVMDh5d-)

## Registering a New User

To register a new user, click the **"+ New User**" button, which will cause the following dialog to appear:

![](/files/-MB6t_JMVc-SvN7baxFi)

In this form, you can choose the username, password, role, and whether or not the user is required to reset their password when they first login.

## Delete a User

To delete a user, click the red trash can icon next to the username in the users list.

{% hint style="info" %}
You are required to have at least one user with the "Admin" role at all times. If you try to delete the last administrative user, Gophish will return an error.
{% endhint %}

## Impersonate A User

There may be cases where a user in Gophish is running into issues and would like help troubleshooting. To support this, Gophish has the ability to let administrators "impersonate" any user.

By clicking the yellow button next to the username in the users list, you will automatically be logged into a session for the given user, and interact with Gophish on that user's behalf.

When you are ready to return to your administrative session, you will need to logout, and log back in using your administrative credentials.


---

# 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.getgophish.com/user-guide/documentation/user-management.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.
