How to find which user has access to Discoverer Reports?

I need to find users having access to Discovered reports using a script. How can I do that?

Hi,
You need to give more details...
Are you using oracle applications? are the users database users?
If you use oracle application you can use the following:
SELECT DISTINCT Disco_Docs.Doc_Name "Discoverer Workbook"
,Trunc(Disco_Docs.Doc_Created_Date) "Workbook Create Date"
,CASE
WHEN Instr(Disco_Docs.Doc_Created_By
,'#') = 0 THEN
Disco_Docs.Doc_Created_By
WHEN Instr(Disco_Docs.Doc_Created_By
,'#') > 0
AND Instr(Disco_Docs.Doc_Created_By
,2) = 0 THEN
(SELECT Fu.User_Name
FROM Fnd_User Fu
WHERE Fu.User_Id = Substr(Disco_Docs.Doc_Created_By
,2
,5))
ELSE
NULL
END "Workbook Owner/Creator"
,Disco_Users.Eu_Username
,CASE
WHEN Instr(Disco_Users.Eu_Username
,'#') = 0 THEN
Disco_Users.Eu_Username
WHEN Instr(Disco_Users.Eu_Username
,'#') > 0
AND Instr(Disco_Users.Eu_Username
,2) = 0 THEN
(SELECT Fu.User_Name
FROM Fnd_User Fu
WHERE Fu.User_Id = Substr(Disco_Users.Eu_Username
,2
,5))
ELSE
(SELECT Resp.Responsibility_Name
FROM Fnd_Responsibility_Tl Resp
WHERE Resp.Responsibility_Id =
Substr(Disco_Users.Eu_Username
,2
,5))
END AS "Shared Name / Responsibility"
FROM Eul_Us.Eul5_Documents Disco_Docs
,Eul_Us.Eul5_Access_Privs Disco_Shares
,Eul_Us.Eul5_Eul_Users Disco_Users
WHERE Disco_Docs.Doc_Id = Disco_Shares.Gd_Doc_Id(+) AND
Disco_Users.Eu_Username(+) NOT IN ('EUL5', 'PUBLIC') AND
Disco_Users.Eu_Id(+) = Disco_Shares.Ap_Eu_Id
Tamir

Similar Messages

  • How to find which users has used external scripting

    I want to find out the users who used the scripting for doing any mass changes activity.

    Hi Murphy;
    Please check which user has which forms open? and Re: how to determine which forms are currently open?
    Hope it helps you in your issue
    Regard
    Helios

  • How to find which user has killed a particular job in CPS?

    Hi All,
    I am new in CPS. I want to find the user who has killed a particular job in CPS?
    Thanks in Advance.
    Avdhesh

    Hi  Gerben,
    Thanks for the reply.
    But I noticed when I  killed a job and checked in the  last modified by option I didn't  find my user name there. It was displaying the user who had modified that job definition last time.
    Thank you
    Avdhesh

  • How to determine which user has an Access 2013 databse open

    How can I tell which user / PC has opened a Backend Access database?

    If the file is stored on a server and you have access to it, you could check in Computer Management, then go into System Tools, Shared Folders, Open Files, and you should find the file listed there along with which user has it open currently.

  • Log to check as to which user has accessed which report?

    Hi,
    I am using BOBJ for report creation and SAP BI for datawarehousing.
    The user can access these reports using the iviews created in the portal. Due to some performance testing requirements we need to check which user accessed which report and if he has drilled down to a particular level in a report, then there should be a means to know that as well.
    BO offers a few standard activity reports to check which user has done which activity. However the details of drill down etc. cannot be checked using that. Please help as to how can we check that too.
    Best Regards,
    Neha

    Hi,
    See [Business Objects|/community [original link is broken]; and [Crystal Reports|/community [original link is broken]; forums for this topic.
    -Paul

  • How to find which user submitted concurrent request

    Dear all,
    How to find out which user has submitted concurrent request with concurrent id. There is once column called requested by in fnd concurrent requests table, is it the user id who submitted that request ?
    Regards,
    Charan

    How to find out which user has submitted concurrent request with concurrent id. https://forums.oracle.com/forums/search.jspa?threadID=&q=fnd_concurrent_requests+AND+fnd_user&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    There is once column called requested by in fnd concurrent requests table, is it the user id who submitted that request ?Yes.
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_CONCURRENT_REQUESTS&c_owner=APPLSYS&c_type=TABLE
    http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_USER&c_owner=APPLSYS&c_type=TABLE
    Thanks,
    Hussein

  • How to check which user has the privilege to execute a stored procedure?

    I am using Oracle 7 and I would like to check which user has the privilege to execute a stored procedure. How can I check it? Is there any view I can query for?
    Alex Hung

    Please check DBA_SYS_PRIVS.
    SQL> select * from dba_sys_privs
    2 where grantee='HARY';
    GRANTEE PRIVILEGE ADM
    HARY EXECUTE ANY PROCEDURE NO
    ....

  • Find which user has "Personal Greeting"

    Dear NetPro gurus,
    Is there any tools that can help my customer to view at a glance which user has used Personal Greeting, and which are just using System Default greeting??
    One of my customers has over 1,000 users and I was wondering whether such tool exist rather than having me to click on each user mailbox one-by-one. 
    I did tried to export using Bulk Administration Tool as well as using User Dump Tool but neither allows me to see who has used Personal Greeting on their mailbox.
    I have spent a lot of time research on this already.  Would greatly appreciated if anyone can shed some light on this.
    Cheers,
    Hunt

    You had a previous post on this in which I provided the following:
    When you run the Subscriber  Information Dump for Unity, you have the option to pull the WAV file  info for greetings as well as data for which greeting(s) are enabled.   When you do that, you would be able to see the following:
    Greeting WAV file – standard. This will include the WAV file name of the standard greeting for a  subscriber. The WAV file itself is copied into      the same directory  where you select the CSV File to be written to so be sure to pick a  directory that has enough space to store all the greeting      files. The  file will be named with the alias of the subscriber followed by  “_GREETING_STANDARD.WAV”.   If there is no standard      greeting  recorded for the subscriber, the column will be empty. If  there is a standard greeting it will be copied to the output directory  as noted and the file name used will be written in the column.
    I  haven't looked at this data for the purpose you intend but the standard  (and alternate) greetings are the most commonly used.  When you set up  your mailbox, it asks you to record a personal greeting (this would be  the Standard greeting).  If you do not record a personal greeting then  the system default would be used.  So, if I have a personal greeting  then the applicable Greeting WAV file output in the subscriber dump  should be populated.  Otherwise, it would be blank.  Should be easy for  you to test and verify if this is the case.
    I think this will give you what you need.  Did you take a look at this data yet?
    Hailey
    Please rate helpful posts!

  • How to find which users only have a single and a specific responsibility

    Hi,
    I have a requirement in my organization that a password restriction have to be implemented. After implementing that, for some users, the password date will have to be nulled out, so that when they login, they will be forced to change their password following that new password rule.
    Oracle's "CP SQL*Plus Expire FND_USER Passwords" concurrent program can not be used as that will expire all the users password at the same time.
    For this, I have to find all the users which have a certain responsibility (check viewing responsibility) and only that responsibility. First day password date null out will be implemented for them only. For the other users (who have check printing responsibility) the password will be nulled out some other day.
    As I am using the following query, I see some of the users have multiple responsibility. How do I find out the users who have only a certain responsibility and nothing else?
    select usr.user_name, res.responsibility_name
    from apps.fnd_user usr, apps.FND_USER_RESP_GROUPS_DIRECT usrrep, apps.fnd_responsibility_tl res
    where usr.user_id=usrrep.user_id
    and usrrep.responsibility_id=res.RESPONSIBILITY_ID
    and usr.end_date is NULL
    group by usr.user_name,res.responsibility_name
    Any suggestion, idea will be very much appreciated.

    Hi,
    I have a requirement in my organization that a password restriction have to be implemented. After implementing that, for some users, the password date will have to be nulled out, so that when they login, they will be forced to change their password following that new password rule.
    Oracle's "CP SQL*Plus Expire FND_USER Passwords" concurrent program can not be used as that will expire all the users password at the same time.Use the same update statement in $FND_TOP/sql/AFCPEXPIRE.sql and include/exclude the usernames you want.
    For this, I have to find all the users which have a certain responsibility (check viewing responsibility) and only that responsibility. First day password date null out will be implemented for them only. For the other users (who have check printing responsibility) the password will be nulled out some other day.
    As I am using the following query, I see some of the users have multiple responsibility. How do I find out the users who have only a certain responsibility and nothing else?See (How To Find Out Which Responsibility Was Granted To A Specific User? [ID 304687.1]).
    Or, see old threads for similar topic (you will find many queries which should be helpful).
    http://forums.oracle.com/forums/search.jspa?threadID=&q=Users+responsibilities+query&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    select usr.user_name, res.responsibility_name
    from apps.fnd_user usr, apps.FND_USER_RESP_GROUPS_DIRECT usrrep, apps.fnd_responsibility_tl res
    where usr.user_id=usrrep.user_id
    and usrrep.responsibility_id=res.RESPONSIBILITY_ID
    and usr.end_date is NULL
    group by usr.user_name,res.responsibility_nameTry this query ..
    SQL> select fu.user_name, count(frvl.responsibility_name)
    from fnd_user_resp_groups_direct furgd, fnd_responsibility_vl frvl, fnd_user fu
    where furgd.responsibility_id = frvl.responsibility_id
    and fu.user_id = furgd.user_id
    and (to_char(furgd.end_date) is null
    or furgd.end_date > sysdate)
    group by fu.user_name
    having count(frvl.responsibility_name) = 1;Thanks,
    Hussein

  • To find which user has clicked on which link in capmaign mail

    When a campaign is executed we send a mail to the BPu2019s.now I have couple of link in that mail formu2026.I want to know which person has clicked on a what hyperlinku2026for e.g. I have two link one for sending to yahoo and other for my site addressu2026now i want to know how which person has clicked on which link...
    in the Table CRMD_IM_ML_ITEM field SUM_ACCESS increases by 1 every time a person clicks on the link.....
    is there any table taht i can use to know which kyper link the user has clicked.....
    i read about the adding response id to the mail form.....but don't how or where to use it...
    i need to genrate report later which tells which person has clicked on which link,how many number of time...

    We have a same scenario.could you please tell us the way you resolved it.
    Thanks
    Ramya

  • How to find out users inapproprate access in the system

    Hi Experts,
    Please any on help me out how to find out the inappropriate critical/sensitive Access is granted to all end users.
    Regards,
    Reddy v.

    Hi Siddhesh,
    Thanks for your reply.
    I already used  the SUIM T-code, but unable to find out users, those who have critical / Sensitive authorization, could you please help me to find out the same by using SUIM,
    We will  able to get the critical / Sensitive authorization users details by executing RSUSR005.
    It display all Usres those who have critical / Sensitive authorization.
    But I want to know is thier any other way to find out the same.
    If any one help me to find out it will usefull for me for the security issue.
    Thanks
    Prakash

  • How to find which Port has the highest traffic (both in/out) in switch

    Hello,
    I have a 3550 switch with 48 port having 12.1 code.
    Need to know which port is causing the highest traffic , i mean to track which user is downloading/uploading the most.
    I was able to track this in CATOS with the command sh top and that will tell the port, but in IOS based switches i was not able to find
    Can some one help.

    You can try with the following command:
    show interfaces summary
    Output shows the traffic for all ports instead of the top one only, but you can find the top from this output. Or you can install an MRTG or Cacti for monitor the used bandwith.
    bye
    FCS
    Please rate me if I helped.

  • How to find which user is in the planning book XYZ?

    Hallo,
    we are using SCM APO 5.0. and have defined "key-figure-specific Lock" as our locking logic.
    I need a program to get all users who are in a special planning book. Normally I can read this information from lock entry list (SM12). But with this locking logic the entry list looks quite different. Has someone an idea?
    Thanks in advance
    Yong

    Yong,
    There is a macro ACT_USER() which returns the user in a particular planning book. You can make it as a directly executable macro and schedule it using mc8e.
    Hope this works.
    Regards,
    Abhi

  • How to find which component has a partial trigger to a specific component

    Hi,
    Not sure if this question has been posted earlier. Apology for repeating, but I need to know how to do this and could not find the answer by searching the forum.
    I want to know if there is a way to find out what all components that use a specific component in its partial trigger. So lets say I have two selectoneChoice.
    <af:selectOneChoice id="soc1" autoSubmit="true"
    value="parent"
    />
    <af:selectOneChoice id="soc2" autoSubmit="true"
    value="child1" partialTriggers="soc1"
    />
    <af:selectOneChoice id="soc3" autoSubmit="true"
    value="child2" partialTriggers="soc1"
    />
    There is the soc2.getPartialTriggers() method that gives on the partialtriggers on soc2. However, I want to know how can soc1 know who all are using it as their partialTriggers.
    Appreciate any clues and help.

    because i want to add a common valuechange listener method in my backing bean on the parent component that will update all its child components with a specific same value.

  • How to know which user has executed which ddl statement

    Hi All,
    Last week i faced some problem, like some one has truncated the table , so luckily i have the schema backup so i restored it till the last backup taken.
    but i want to know who has executed this ddl statement.
    i know there are some utilities are avaible with oracle, so please describe me the easiest and quickest way to get this.
    Regards
    Asif

    In order of descending simplicity
    - Use the principle of least privilege to restrict the privileges users have in the database to ensure that they cannot do things like truncating a table
    - Enable auditing of potentially problematic statements. This has to be done before the damage is done, though
    - Create a DDL trigger that logs when users issue DDL. This also must be done before the damage is done.
    - Use LogMiner to go through the archived log files that were generated at the time the table was truncated. This assumes that the database is in ARCHIVELOG mode and that you have the archived logs from last week. Using LogMiner to track down the culprit is also likely to be relatively time-intensive
    Justin

Maybe you are looking for