> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-parallel-read-in-order-multi-part.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> 包含当前所有已启用角色的系统表，包括当前用户的当前启用的角色以及授予当前启用的角色的角色

# system.enabled_roles

## 描述

包含当前所有已启用角色，包括当前用户当前启用的角色，以及授予当前角色的其他角色。

## 列

* `role_name` ([String](/zh/reference/data-types/string)) — 角色名称。
* `with_admin_option` ([UInt8](/zh/reference/data-types/int-uint)) — 若该角色具有 ADMIN OPTION 权限，则为 1。
* `is_current` ([UInt8](/zh/reference/data-types/int-uint)) — 标志位，表示 `enabled_role` 是否为当前用户的当前启用的角色。
* `is_default` ([UInt8](/zh/reference/data-types/int-uint)) — 标志位，表示 `enabled_role` 是否为默认角色。
