In db2 you can use the table function: AUTH_LIST_AUTHORITIES_FOR_AUTHID
select authority, d_user, d_group, d_public, role_group, role_user, role_public, d_role
from table (sysproc.auth_list_authorities_for_authid ('sapbw','U')) as t
order by authority"
For more information: http://pic.dhe.ibm.com/infocenter/db2luw/v10r5/topic/com.ibm.db2.luw.sql.rtn.doc/doc/r0052898.html