Page 1 of 1

Trace users

Posted: Fri Jan 02, 2009 2:45 am
by emm
what query can i use to trace the apps users

Currently the query i use, it returns username as apps for all of them
I want to know the logged in user name

Your help is appreciated

Thanks

Posted: Fri Jan 02, 2009 10:32 am
by admin
query v$sessions

Posted: Tue Jan 06, 2009 12:02 pm
by lukman
if you just want to know user who currently login then you can use system administration too

Posted: Wed Jan 07, 2009 3:46 am
by latif
Hi ,
Use below query to know about users logged in apps

select distinct d.user_name from apps.fnd_logins a,
v$session b, v$process c, apps.fnd_user d
where b.paddr = c.addr
and a.pid=c.pid
and a.spid = b.process
and d.user_id = a.user_id
and (d.user_name = 'USER_NAME' OR 1=1);

bye