The following constraints apply when defining a custom search:
GRANT EXECUTE ON MyEmailSearch_V2_1 to "WGNQueryUser"
OPEN mycursor FOR 'SELECT * FROM ' || myUser || '.Wgn_V_Event_1';
You can retrieve the current user name using this command:
SELECT sys_context('userenv','current_user') INTO myUser FROM dual
Secure views at the time of writing:
Wgn_V_Event_1 Wgn_V_EventPartpntUser_1 Wgn_V_User_1 Wgn_V_Group_1 Wgn_V_Trigger_1
Copyright © 2014 CA.
All rights reserved.
|
|