How to audit which users have logged in to DB?

Hello Gurus,
Is there any way to track the history of which users logged in to DB at what time etc?
Like if a DB has 4 users say user_1, user_2, user_3 and user_4. Is there way to get the details of when any of these have logged on to DB?
I suppose Oracle may be storing the history in some base tables.
Please help.
Thanks in advance.

Hi,
Check below links..
http://www.oracle-base.com/articles/10g/Auditing_10gR2.php
http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96521/audit.htm
http://www.mscd.edu/~ittsdba/oradoc817/server.817/a76956/audit.htm
- Pavan Kumar N

Similar Messages

  • How to view which users have logged into Hyperion Planning

    Hi all,
    I'm trying to determine the best way to view users that have logged into Hyperion Planning (who and when). Is there an option in Shared Services or can this be viewed through Planning by the administrator? Any insight would be greatly appreciated.
    Thanks!

    Planning has never been the best at providing that information, you can look at the statistics page in planning which is pretty poor in my opinion.
    The other option is audting but once again it doesn't really audit users logging in and out.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to obtain all users have logged BIEE

    How to obtain BIEE all users have logged, now I want to prevent users from repeated login,  who knows

    Moderator Action:
    This is a duplicate of:
    https://forums.oracle.com/thread/2564878
    and you already have constructive responses in that original thread.
    This new post serves no purpose.
    It is locked.

  • How many users have logged in the Enterprise portal

    Hello Expert,
    Please suggest..
    Feature required to monitor as how many users have logged in the Enterprise portal 7.0(Portal is Implemented with MDM), so that utilization can be known.
    Regards,
    Vidhanshi

    Hi,
    You can wirte the following code to get the logged in user's ID
    try {
          IWDClientUser wdClientUser = WDClientUser.getCurrentUser();
          IUser sapUser = wdClientUser.getSAPUser();
          IUserAccount[] acct = sapUser.getUserAccounts();
          String str = acct[0].getDisplayName();
          wdComponentAPI.getMessageManager().reportSuccess("user "+ str);
         } catch (WDUMException e) {
         // TODO Auto-generated catch block
         e.printStackTrace();
         } catch (UMException e) {
         // TODO Auto-generated catch block
         e.printStackTrace();
    You need security api for using it make sure that is present.
    [Find out who is login into the Portal|http://forums.sdn.sap.com/thread.jspa?threadID=1723807]
    Hope This is Help full for you!!!
    Best Regards
    Vijay K

  • Table to Know which users have currently logged into the system

    Hi,
       I have a requirement where by i can know as to which all user have logged into the system. Any pointers as whcih table this information can be found?
    Regards,
    Gurpreet Singh

    Hi pankaj,
    1. use the FM TH_SYSTEMWIDE_USER_LIST
    2. Not only the user list,
       u will also get the
       terminal, various tcodes,
       they are currently using.
    regards,
    amit m.

  • Which users have read this document?

    Hi all,
    We are implementing the SAP EP 6 KM SP 14 system and I was wondering if there is some standard functionality available  to see which users have read a specified document or which documents where read by a specified user.
    I looked at the reporting functionality but couldn't find it... maybe some log file?
    All I need is the relationship "user x read document y" or vice versa. If I can find this somewhere I could make my own script to put it in a nice overview.
    Thanks!

    Thanks, you helped me to understand why this simple question is somewhat more complicated.
    So there is no standard functionality available to see which user has read a specific document because of the overhead created by such a feature. A report on demand would be the best answer to this problem but is not available out-of-the-box.
    I've enough information to explain what we'll have to do when we need this feature after all (we are evaluating the KM system).
    -- Simon
    PS: I gave you some points along the way. Problem is not solved (and won't be solved right away) but you were really helpfull. Thanks for your support Helmut!

  • 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

  • How to determine which user uses which database-object

    Hi,
    currently we are in the process of consolidating our databases. One of the neccessary steps is to figure out which user connects to the database at all. That's easy, we implemented a logon-trigger and log the collected information into a separate table.
    If a user with objects (e.g. tables, views, procedures) exists - but this user never connects to the database - does that automatically mean that these objects are not used at all? No need to say that this is not true. But how can we figure out if a connected user has selected an object of this user?
    Our porblem is that we have alot of schemas in our database - but the developers don't know if this schema is not used by an application or not (sad but true).
    To enable auditing would be one choice to figure out if an object was ever used or not.
    Are there any other possibilities?
    Any help will be appricated
    Rgds
    Jan

    VivaLaVida wrote:
    Hi,
    currently we are in the process of consolidating our databases. One of the neccessary steps is to figure out which user connects to the database at all. That's easy, we implemented a logon-trigger and log the collected information into a separate table.It could have been even easier by turning on the built-in audit feature.
    If a user with objects (e.g. tables, views, procedures) exists - but this user never connects to the database - does that automatically mean that these objects are not used at all? No need to say that this is not true. But how can we figure out if a connected user has selected an object of this user?audit would be a good choice.
    Our porblem is that we have alot of schemas in our database - but the developers don't know if this schema is not used by an application or not (sad but true).Not sure what developer will do with used/not used application.
    To enable auditing would be one choice to figure out if an object was ever used or not. What's wrong in auditing ?
    Even though audit may have a footprint on performance, that would probably be less costly than any custom solution.
    Nicolas.

  • How can know which user accessing specific form in ERP application

    Hi,
    In our organization we have ERP application that is developed based on Orace forms and reports 10g.
    My question is how can i know which user accessing specific form in ERP application based on their login.
    Please do the needful.
    Regards,
    M. Satish

    What I infer from your statements now, significantly different from your OP, is that you do not have any logging mechanism and now want to introduce logging with minimum effort.
    If that is the case you can add the logging code in your Menu(s), before the CALL_FORM/NEW_FORM. Fewer object(s) to modify, but roughly the same lines of code get added.
    Regards,

  • How to audit a user at same time it is created?

    Hi, I got a problem and I hope someone can help me.
    Is there any way of auditing a user at same time it is created?
    For example I create the user "Eddy" and I want this account to be automatically audited so I don't have to execute "audit session username;" each time a new user is created.

    I wasn't aware but it seems that most of DDL operations are not available directly from system triggers. Anyway, you can log the user created in a table (stored in ora_dict_obj_name) for being processed later with a scheduled job.
    All in all, it seems much more easier to use two sentences create + audit.

  • How to getcapabilities of user who logged into IDM?

    Hi All,
    I am having the same problem. I have posted this question earlier also. But some one said forms will always have the refrence of the configurator.
    But in the documentation its is said that <ref>:display.session</ref>, will be a valid Identity Manager Sesssion. More over iam using passing the value ie <ref>:display.session</ref>, to get the resources that logged in user have access. There its getting corretly based on the logged in user. I am giving the two codes below.
    1. <Field name='waveset.resources'>
    <Display class='Label'>
    <Property name='value'>
    <invoke name='getResources' class='com.waveset.ui.FormUtil'>
    <ref>:display.session</ref>
    </invoke>
    </Property>
    </Display>
    </Field>
    The above code gets the resources the logged in user has access correctly based on who logs in. Its not getting the resources that "Configurator" has access.
    2. <Field name='Capability'>
    <Display class='Label'/>
    <Default>
    <invoke name='getCapabilities' class='com.waveset.ui.FormUtil'>
    <ref>:display.session</ref>
    </invoke>
    </Default>
    </Field>
    The above code gives the capability of the "Configurator", irrespective of who evers logs in.
    can ony one help me to sort out this problem if u have achieved prviously plz post your piece of code that would help me to to proceed furthur...
    Thanks in advance
    Regards,

    Hi,
    When adding to the title:
    The default available on the Insert menu is the full page item list &PageItems.
    However the undocumented way to add a single page item is to type &PageItemName which in this case will be the calculation item for the USER function.
    For example:
    Calculation TheUser defined as USER.
    Place TheUser on pageitems area.
    Add &TheUser to page title (does not require &PageItems to be present)
    regards
    John

  • 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

  • How to determine if user is logged in

    I am trying to look for a flag which tells me whether the user is logged into the application or not. I thought I could user :APP_USER but it can still contain value even if the user has logged out the application. We are using LDAP authentication. Thanks.

    I have some items on page 0 which I do not want displayed on the log in page. So I was looking for a condition which basically tells me whether the user has logged in or not. May be there is a better way of dealing with this other than figuring out if user is logged in. My understanding is that a user gets a session id regardless of whether the user is logged in or not. Upon successful login APEX creates a cookie with values that it uses to match with user session id to determine if user is logged in or not.

  • 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.

  • How to know which user shutdown the server

    Hi,
    Is there a way to check which user has shutdown the server in windows server 2012.
    I know Event Id : 1076,1074,6008 gives information about system shutdown.but want to know which user did that ?
    thanks

    Steps to see which user shutdown the system:
    1. Go to event Viewer
    2. Right click on system and -> Filter Current Log
    3. For User Shutdowns, click downward arrow of Event Sources -> Check User32.
    4. In <All Event IDs> type  1074 -> OK
    This will give the list of Power off and restart events. It will have the date and time as well as Username.

Maybe you are looking for