> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-fix-nav-issues.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> 包含服务器上已配置用户账户列表的系统表。

# system.users

<div id="description">
  ## 说明
</div>

包含服务器上已配置的[用户账户](/zh/concepts/features/security/access-rights#user-account-management)列表。

<div id="columns">
  ## 列
</div>

* `name` ([String](/zh/reference/data-types)) — 用户名。
* `id` ([UUID](/zh/reference/data-types)) — 用户 ID。
* `storage` ([String](/zh/reference/data-types)) — 用户存储的路径。在 `access_control_path` 参数中配置。
* `auth_type` ([Array(Enum8('no\_password' = 0, 'plaintext\_password' = 1, 'sha256\_password' = 2, 'double\_sha1\_password' = 3, 'ldap' = 4, 'kerberos' = 5, 'ssl\_certificate' = 6, 'bcrypt\_password' = 7, 'ssh\_key' = 8, 'http' = 9, 'jwt' = 10, 'scram\_sha256\_password' = 11, 'no\_authentication' = 12))](/zh/reference/data-types)) — 显示身份验证类型。用户可通过多种方式进行身份识别：无密码、明文密码、SHA256 编码密码、双重 SHA-1 编码密码或 bcrypt 编码密码。
* `auth_params` ([Array(String)](/zh/reference/data-types)) — 取决于 `auth_type` 的 JSON 格式身份验证参数。
* `valid_until` ([Array(DateTime)](/zh/reference/data-types)) — 用户凭据的过期日期和时间。
* `host_ip` ([Array(String)](/zh/reference/data-types)) — 允许连接到 ClickHouse 服务器的主机 IP 地址。
* `host_names` ([Array(String)](/zh/reference/data-types)) — 允许连接到 ClickHouse 服务器的主机名。
* `host_names_regexp` ([Array(String)](/zh/reference/data-types)) — 允许连接到 ClickHouse 服务器的主机名正则表达式。
* `host_names_like` ([Array(String)](/zh/reference/data-types)) — 允许连接到 ClickHouse 服务器的主机名，使用 LIKE 谓词设置。
* `default_roles_all` ([UInt8](/zh/reference/data-types)) — 显示是否默认将所有已授予的角色分配给该用户。
* `default_roles_list` ([Array(String)](/zh/reference/data-types)) — 默认提供的已授予角色列表。
* `default_roles_except` ([Array(String)](/zh/reference/data-types)) — 除列出的角色外，其他所有已授予角色都设为默认角色。
* `grantees_any` ([UInt8](/zh/reference/data-types)) — 该标志指示具有任意授权选项的用户是否可以将其授予任何人。
* `grantees_list` ([Array(String)](/zh/reference/data-types)) — 允许该用户向其授予授权选项的用户或角色列表。
* `grantees_except` ([Array(String)](/zh/reference/data-types)) — 禁止该用户向其授予授权选项的用户或角色列表。
* `default_database` ([String](/zh/reference/data-types)) — 该用户的默认数据库名称。

<div id="see-also">
  ## 另请参阅
</div>

* [SHOW USERS](/zh/reference/statements/show#show-users)
