> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# SHOW USERS

> SHOW USERS displays all users in the system.

SHOW USERS displays all users in the system. Users mentioned here are user identities, not user names. For more information about user identities, see [CREATE USER](/documents/4.2/sql-reference/sql-statements/account-management/CREATE_USER.md). This command is supported from v3.0.

You can use `SHOW GRANTS FOR <user_identity>;` to view the privileges of a specific user. For more information, see [SHOW GRANTS](/documents/4.2/sql-reference/sql-statements/account-management/SHOW_GRANTS.md).

***

***

**Tip**

Only users with the `user_admin` role has the privilege to perform this operation.

## Syntax

```SQL theme={null}
SHOW USERS
```

Return fields:

| **Field** | **Description** |
| - | - |
| User | The user identity. |

## Examples

Display all users in the system.

```SQL theme={null}
mysql> SHOW USERS;
+-----------------+
| User            |
+-----------------+
| 'wybing5'@'%'   |
| 'root'@'%'      |
| 'admin'@'%'     |
| 'star'@'%'      |
| 'wybing_30'@'%' |
| 'simo'@'%'      |
| 'wybing1'@'%'   |
| 'wybing2'@'%'   |
+-----------------+
```

## References

[CREATE USER](/documents/4.2/sql-reference/sql-statements/account-management/CREATE_USER.md), [ALTER USER](/documents/4.2/sql-reference/sql-statements/account-management/ALTER_USER.md), [DROP USER](/documents/4.2/sql-reference/sql-statements/account-management/DROP_USER.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.