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

> Tabela do sistema que contém as funções ativas do usuário atual.

# system.current_roles

## Descrição

Contém as funções ativas do usuário atual. `SET ROLE` altera o conteúdo desta tabela.

## Colunas

* `role_name` ([String](/pt-BR/reference/data-types/string)) — Nome da função.
* `with_admin_option` ([UInt8](/pt-BR/reference/data-types/int-uint)) — 1 se a função tiver o privilégio ADMIN OPTION.
* `is_default` ([UInt8](/pt-BR/reference/data-types/int-uint)) — 1 se a função estiver definida como padrão.
