I could not find any documentation to retrieve user roles in a sequence mediator using XML or Java.
I did some guessing like this but it didn't work
<property name="user" expression="get-property('api.ut.roles')"/>
Also is it possible to read api scopes.