> ## 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.current_roles

<div id="description">
  ## 描述
</div>

包含当前用户的已启用角色。`SET ROLE` 会修改此表中的内容。

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

* `role_name` ([String](/zh/reference/data-types)) — 角色名称。
* `with_admin_option` ([UInt8](/zh/reference/data-types)) — 如果该角色具有 ADMIN OPTION 权限，则为 1。
* `is_default` ([UInt8](/zh/reference/data-types)) — 如果该角色被设置为默认角色，则为 1。
