Using the system table SESSION_ROLES, you can determine the following database information, among other things:
All roles that
are active in the current database
session
SELECT role
FROM DOMAIN.SESSION_ROLES
All roles: see ROLES
All roles that are used as a default value: see ROLES
Role privilege: see ROLEPRIVILEGES