Categories
- All Categories
- 5 Oracle Analytics Sharing Center
- 11 Oracle Analytics Lounge
- 195 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.5K Oracle Analytics Forums
- 6K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 68 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Application Roles in Table

Best Answer
-
The typical flow is for users or groups to be mapped to Application Roles and you can use the system session variable called ROLES to retrieve the list of App Roles assigned to a user (either directly or via inheritance or via group membership). The UI also provides an export option where you can export the Application Roles and its members to a csv file(click on Show Indirect Membership button for export option). The Application Role membership is maintained as jazn-data.xml as part of your snapshot bar file but note that we do not recommend any manual modification to these files, only supported approach is to use the User Interface to make any changes to App Role memberships.
As noted by Gianni, it would help if you post your actual requirement because there should not be a need to create application roles with direct db operation when we provide a UI for doing same.
0
Answers
-
Hello vijay
Welcome to the Oracle Analytics community!
The back end tables are not accessible so we can check the same from console
0 -
Thank you for the detailed information,
so I assume we have to manually add the application roles into a DB table and use that in RPD.
we want the list of application roles in Table for our requirement, so variable can pick the application role from table.0 -
In OAC, you don't have access to the tables containing the security, and you anyway would struggle to handle inheritances in your query.
If you express your requirement instead of what you imagined as solution (trying to avoid a "XY problem" situation), the answer is maybe simpler than what you believe…
0 -
Hi @VijayDC - I agree with Gianni & GayathriAnand.
However, if you are dead set on getting the application role data stored in a table, you can use an API scraping method to extract the data and take the JSON response and use the JSON_TABLE method to write this data to a table.
You will need an active session cookie to pass with the request to the endpoint [https://[oac_url]/ui/sac/api/v1/security/Approles?offset=0 ], but its technically possible, but probably not recommended.
Best,
Josh
2 -
Thank you @GayathriAnand-Oracle
will check this,0