SQL Query for Extracting Role, Duty Role, and Effective Date Navigation Path in Oracle Fusion BI Report

The following SQL query is designed to extract user role assignments, associated duty roles, and their effective date range from Oracle Fusion BI Reports. This helps administrators and auditors gain visibility into the role hierarchy and access timelines of Fusion users, ensuring strong governance and compliance tracking.
SELECT
"ASE_USER_ROLE_MBR"."USER_ID" AS "USER_ID",
(SELECT "ASE_USER_VL"."USER_DISPLAY_NAME"
FROM "FUSION"."ASE_USER_VL" "ASE_USER_VL"
WHERE "ASE_USER_VL"."USER_ID" = "ASE_USER_ROLE_MBR"."USER_ID") AS "USER_DISPLAY_NAME",
"ASE_USER_ROLE_MBR"."ROLE_ID" AS "JOB_ROLE_ID",
(SELECT "ASE_ROLE_VL"."ROLE_NAME"
FROM "FUSION"."ASE_ROLE_VL" "ASE_ROLE_VL"
WHERE "ASE_ROLE_VL"."ROLE_ID" = "ASE_USER_ROLE_MBR"."ROLE_ID") AS "JOB_ROLE_NAME",
"ASE_USER_ROLE_MBR"."EFFECTIVE_START_DATE" AS "EFFECTIVE_START_DATE",
“ASE_USER_ROLE_MBR”.”EFFECTIVE_END_DATE” AS “EFFECTIVE_END_DATE”
FROM “FUSION”.”ASE_USER_ROLE_MBR” “ASE_USER_ROLE_MBR”
WHERE (“ASE_USER_ROLE_MBR”.”EFFECTIVE_END_DATE” >= SYSDATE
OR “ASE_USER_ROLE_MBR”.”EFFECTIVE_END_DATE” IS NULL)
AND EXISTS (
SELECT '1'
FROM "FUSION"."ASE_USER_VL" "ASE_USER_VL"
WHERE ("ASE_USER_VL"."EFFECTIVE_END_DATE" >= SYSDATE
OR "ASE_USER_VL"."EFFECTIVE_END_DATE" IS NULL)
AND "ASE_USER_VL"."USER_ID" = "ASE_USER_ROLE_MBR"."USER_ID"
);
Query Overview
This query provides a complete navigation path of how users are mapped to their job roles and duty roles, including when each assignment starts and ends. It uses key Oracle Fusion tables to ensure accuracy and traceability:
- ASE_USER_ROLE_MBR: Stores details of user-to-role assignments.
- ASE_USER_VL: Contains user display names and personal identifiers.
- ASE_ROLE_VL: Maintains role names and definitions within the Fusion security model.
The EFFECTIVE_START_DATE and EFFECTIVE_END_DATE fields define the validity period for each role assignment, helping teams track access changes over time.
Business Use Case
This query is essential for:
- Audit and Compliance Teams: To review which users hold active job or duty roles and verify date validity.
- Security Administrators: To trace overlapping roles and eliminate redundant access.
- License Management: To analyze active users and their associated access scopes for optimization.
- SoD (Segregation of Duties) Reviews: To identify users who may possess conflicting roles within the same timeframe.
By deploying this query in Oracle BI Publisher or Fusion OTBI, administrators can streamline access monitoring, maintain regulatory compliance, and enhance enterprise data security.
- #1Trooper
- #SQLGuruAI
- Access Governance
- Duty Roles
- Fusion BI
- Oracle Fusion
- Role Management
- SQL Query
- sqlguru.ai
- sqlguru.ai blog
Related articles

From Data to Decisions: Simplifying Oracle Cloud ERP SQL Querying with SQLGuru.ai
In the high-stakes world of enterprise operations, data is more than a resource; it’s the foundation for every business decision. Yet for many organizations running Oracle Cloud ERP, there is a persistent gap between having access to data and actually using it effectively. The challenge isn’t the data itself; it’s the complexity of performing an…

Oracle Cloud ERP SQL Query vs. Traditional Reporting: Redefining Enterprise Business Intelligence
Enterprise decision-making depends on accurate, timely, and actionable insights. Oracle Cloud ERP provides multiple ways to access data, most commonly through traditional reports and SQL queries. While both approaches play important roles, understanding their strategic impact is essential. The comparison between Oracle Cloud ERP SQL Query and traditional reporting highlights how enterprises can redefine business intelligence in the digital era. Traditional ERP…

SQL Query for Oracle Cloud ERP: Turning Enterprise Data into Strategic Intelligence
In today’s enterprise landscape, data is more than an operational byproduct, it’s a strategic advantage. Oracle Cloud ERP generates massive volumes of transactional and operational data every day. The real challenge, however, is transforming that data into timely, actionable insight. This is where SQL Query for Oracle Cloud ERP becomes a critical capability for organizations seeking visibility, control, and informed decision-making. Unlike…
