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

## 描述

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

## 列

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