The system table SESSION_ROLES contains the roles that are active in the current database session.
SESSION_ROLES
ROLE
CHAR(32)
Name of role
See also:
Evaluating System Tables ® SESSION_ROLES