How to Run a Report of All Assigned users to a Business Role

Hello Experts,

We have some business roles that are driven by a dynamic assignments based on their Deprtment, Title and Location.  I am trying to see if there is a way to have a report on all the members of those roles.  If i can do it in OneIM, Great!  if not, anyone has any recommendation or a query they can provide for SQL?  I'd really appreciate your help.

Thank you,