xdmp.getCurrentRoles() as Sequence
Returns all the current roles, both assigned and inherited by the current user and any received from amps.
xdmp.getCurrentRoles(); => (2349872340, 432987324)