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

> 現在のユーザーに対して有効なロールを含むシステムテーブル。

# system.current_roles

## 説明

現在のユーザーの有効なロールが含まれます。`SET ROLE` によってこのテーブルの内容が変更されます。

## カラム

* `role_name` ([String](/docs/ja/reference/data-types/string)) — ロール名。
* `with_admin_option` ([UInt8](/docs/ja/reference/data-types/int-uint)) — ロールにADMIN OPTION権限がある場合は1。
* `is_default` ([UInt8](/docs/ja/reference/data-types/int-uint)) — ロールがデフォルトに設定されている場合は1。
