---
description: 'System table containing active roles for the current user.'
keywords: ['system table', 'current_roles']
slug: /operations/system-tables/current-roles
title: 'system.current_roles'
---

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

Columns:

- `role_name` ([String](../../sql-reference/data-types/string.md))) — Role name.
- `with_admin_option` ([UInt8](/sql-reference/data-types/int-uint#integer-ranges)) — Flag that shows whether `current_role` is a role with `ADMIN OPTION` privilege.
- `is_default` ([UInt8](/sql-reference/data-types/int-uint#integer-ranges)) — Flag that shows whether `current_role` is a default role.
