Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re[1]: FGAC and application contexts help !
Hi Tanel,
Thanks for your reply.
we want to have APPS username based access control.
Below is the procedure is use to get the USER_ID of application user.This procedure in turn is being used by DBMS_FGA as shown below .
INSERT INTO AUD_LOG VALUES (
appuserid,appusername,table_name,policy_name,sysdate ) ;
END;
EXECUTE DBMS_FGA.ADD_POLICY (-
OBJECT_SCHEMA => 'APPLSYS',- OBJECT_NAME => 'FND_CONCURRENT_PROGRAMS',- POLICY_NAME => 'TEST_POLICY',-
But the user_id and user_name returned is "-1" and "ANONYMOUS" and not the correct one.How do i get the proper values ? Any profile setting to be done in APPS ?!
The environment is Oracle EBS 11.5.9/ Oracle 9.2.0.4/ AIX5.2L.
Thanks & Regards,
Prem.
![]() |
![]() |