The system table DOMAIN.SESSION_ROLES contains the roles that are active in the current database session.
ROLE |
CHAR(32) |
Name of the role |
Evaluating System Tables, SESSION_ROLES
SQL Reference Manual,, Role Name (role_name),