Oracle BAM – SQL to List Users and Roles

AshokTechnical TipsLeave a Comment

I don’t really like what Oracle did with BAM user/roles and authentication.

I believe they took Microsoft (SQL Server) tables and just slapped them into Oracle (now requiring that we put quotes around tables and columns). I assume this process will change in the upcoming releases, but here is a quick SQL statement you can use to get a look at your users and their roles as BAM understands them:

1
2
3
4
SELECT iu."SysIterName" username, iur."RoleName" userrole
FROM orabam."SysIterUser" iu, orabam."SysIterRoleUserMapping" iur
WHERE iur."UserID" = iu."SysIterID"
ORDER BY iu."SysIterName"

Leave a Reply

Your email address will not be published. Required fields are marked *