> ## 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 table containing active roles for the current user.

# system.current_roles

<h2 id="description">
  Description
</h2>

Contains active roles of a current user. `SET ROLE` changes the contents of this table.

<h2 id="columns">
  Columns
</h2>

* `role_name` ([String](/reference/data-types/index)) — Role name.
* `with_admin_option` ([UInt8](/reference/data-types/index)) — 1 if the role has ADMIN OPTION privilege.
* `is_default` ([UInt8](/reference/data-types/index)) — 1 if role is set to be a default.
