User's Active Responsibilities

-- Change SYSADMIN to whatever you need

select distinct u.user_name, r.responsibility_name, g.start_date, g.end_date

from fnd_responsibility_tl r,

fnd_user_resp_groups g,

fnd_user u

where u.user_id = g.user_id

and r.application_id = g.responsibility_application_id

and r.responsibility_id = g.responsibility_id

and r.language = 'US'

and (sysdate between g.start_date and g.end_date or g.end_date is null)

and u.user_name = 'SYSADMIN'

order by r.responsibility_name;

5 views0 comments

Recent Posts

See All

After logon trigger - trace user sessions

-- Activate trace for sessions using after logon database trigger -- -- Tables: -- -- SYS.XX_LOGIN_TRACE_CONDITION - add here the conditions for activating trace -- SYS.XX_LOGIN_TRACED_SESSIONS - con

INCLUDE parameter of expdp

-- Export all public database links expdp user/password full=y \ include=db_link:"in (select db_link from dba_db_links where owner = 'PUBLIC')" -- Export one table expdp user/password include=table:"i

Multiplexing Redo Log and Control files

-- List redo log files select group#, member from v$logfile order by group#, member; -- Check redo log file status select group#, members, status from v$log; -- Adding redo log file to a group alter d