MySQL 8.3 Release Notes
The ENABLED_ROLES table provides information about the roles that are enabled within the current session.
The ENABLED_ROLES table has these columns:
-
ROLE_NAMEThe user name part of the granted role.
-
ROLE_HOSTThe host name part of the granted role.
-
IS_DEFAULTYESorNO, depending on whether the role is a default role. -
IS_MANDATORYYESorNO, depending on whether the role is mandatory.