system.enabled_roles
Contains all active roles at the moment, including the current role of the current user and granted roles for the current role.
Columns:
role_name(String)) — Role name.with_admin_option(UInt8) — Flag that shows whetherenabled_roleis a role withADMIN OPTIONprivilege.is_current(UInt8) — Flag that shows whetherenabled_roleis a current role of a current user.is_default(UInt8) — Flag that shows whetherenabled_roleis a default role.