Categories
- All Categories
- 4 Oracle Analytics Sharing Center
- 12 Oracle Analytics Lounge
- 189 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.4K Oracle Analytics Forums
- 5.9K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 65 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture
Need to restrict OTBI report prompt values based on the user logging in

Sharmava
Rank 3 - Community Apprentice
I am creating an OTBI report. Need to implement the security restriction.
The prompt values should be displayed based on the user who is logged in. Please help.
Currently, the query used for prompt is:
SELECT "Position"."PER_POSITIONS_DFF_B_N_2DN_RG_STRCTR_" FROM "Workforce Management - Worker Assignment Real Time" FETCH FIRST 65001 ROWS ONLY
0
Answers
-
Hi @Sharmava,
Please use the following SQL which will make sure the security in place.
SELECT "Position"."PER_POSITIONS_DFF_B_N_2DN_RG_STRCTR_" FROM "Workforce Management - Worker Assignment Real Time" WHERE "Worker"."User Name" = VALUEOF(NQ_SESSION."USER")
Hope this help.
Cheers,
0 -
Thankyou Bhaskar.
Please let me know what should be used if prompt values should be displayed based on the role of the user who is logged in.
0