---
title: "ezgh databases users list"
description: "List a database's users."
---

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

# ezgh databases users list

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh databases users list <database> [--logical-database l] [flags]
```

List a database's users by name: those created through EZGH, and those made in SQL, which have no preset, Secret or status. `--logical-database` keeps the users created through EZGH on one logical database.

Part of [`ezgh databases users`](/cli/reference/databases-users).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--all` | boolean |  | follow nextCursor through every page |
| `--cursor` | string |  | start from this page (a previous page's nextCursor) |
| `--limit` | int | `20` | items per page, 1 to 100 |
| `--logical-database` | string |  | only the users created through EZGH on this logical database |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/databases-users-list/index.mdx
