How to Extract User Role Details with SQL in Oracle Fusion
When working with Oracle HCM / Fusion Applications , administrators and developers often need to fetch details about users, their assigned roles, and their effective dates. This helps in audits, access reviews, and troubleshooting authorization issues. In this post, we’ll walk through a SQL query that retrieves user-role information from Oracle HCM tables. SQL Query: SELECT pus.user_id "User ID", pus.username "Username", ppnaf.full_name "Full Name", prdn.role_common_name "Role Common Name", prdtl.role_name "Role Name", to_char(purs.start_date, 'DD-MON-YYYY') "Role Start Date", to_char(purs.end_date, 'DD-MON-YYYY') "...