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

> System table containing all active roles at the moment, including the current role of the current user and the granted roles for the current role

# system.enabled_roles

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

Contains all active roles at the moment, including the current role of the current user and granted roles for the current role.

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

* `role_name` ([String](/reference/data-types)) — Role name.
* `with_admin_option` ([UInt8](/reference/data-types)) — 1 if the role has ADMIN OPTION privilege.
* `is_current` ([UInt8](/reference/data-types)) — Flag that shows whether `enabled_role` is a current role of a current user.
* `is_default` ([UInt8](/reference/data-types)) — Flag that shows whether `enabled_role` is a default role.
