How to get user session details ?

Hello.
I can get user session details querying the "USER_AUDIT_SESSION" view against my developing database.
I have written a PL/SQL function to retrieve those session details. When I executed the function on the production database I have not got any records. It seems that the underlined view is not being refreshed in the production environment.
Is there any other view or table, available to unprivileged users, I can use to get session details such as the connection timestamp and the user action ?

Thanks for the reply.
Ok, I might check it using a non DBA user, I am not sure, though.
All the database queries have to be executed under a normal user connection.
I would like a way to get session details not using "user_audit_session".
Is there any table or view, available to a default profile user, which has session details and has records as a default behaviour?
As far as I could check disable audit_trail seems to be the normal behaviour of the clients of my application. There is no records in "user_audit_session".

Similar Messages

  • How to get active session details

    Dear all
    in my application i want to display number of users online in a list and their details,for that how can i get the active session details in a jsp , or any other ways to do this.any suggestion regarding this is very much helpful to me. thanks in advance
    thanking u
    yours
    kumaran ramu

    Hi,
    You can use a Listener class for track the sessions and do some logic when a session is created/destroyed. See HttpSessionListener interface. You can save the session IDs and session objects when a session is created, for example in a hashmap. Save the hashmap in application context. In your JSP get the hashmap and get its key/values. See thread safe problems if you are using a hashmap in application context.

  • How to get user profile details using first name and last name of the user?

    Is it possible to get profile details using firstname and lastname of the user with SharePoint UserProfile service?
    any thoughts?
    SP 2010 is history SP 2013 is mystery :)

    You could try the search method of UserProfileManager.
    https://msdn.microsoft.com/en-us/library/microsoft.office.server.userprofiles.userprofilemanager.search.aspx
    SPServiceContext serviceContext = SPServiceContext.GetContext(SPContext.Current.Site);
    UserProfileManager upm = new UserProfileManager(serviceContext);
    string[] searchPattern = { "Firstname", "Lastname"};
    ProfileBase[] searchResults = upm.Search(searchPattern);
    foreach (ProfileBase profile in searchResults)
    //Do something
    //Console.WriteLine(profile.DisplayName);

  • How to check MWA session details in Oracle Apps R12

    I am an Oracle Apps DBA. Current Issue is that sometimes users working with the RF Guns(Scanners) through telnet in MWA servers got hanged.
    They ask to kill their sessions.
    I do not know how to find the MWA loged in users sessions details. What I am able to find is , frm or web session details.
    Could you please guide how to gather these MWA connection details, with database and server process and session details.
    Thanks in advance for ur support.
    Regards,
    KMISRA

    Koushikinath wrote:
    I am an Oracle Apps DBA. Current Issue is that sometimes users working with the RF Guns(Scanners) through telnet in MWA servers got hanged.
    They ask to kill their sessions.
    I do not know how to find the MWA loged in users sessions details. What I am able to find is , frm or web session details.
    Could you please guide how to gather these MWA connection details, with database and server process and session details.
    Thanks in advance for ur support.
    Regards,
    KMISRAPlease see these docs.
    MWA Server Hangs on R12 Environments [ID 559614.1]
    Which parameters control the maximum number of user connections per MWA listener [ID 567214.1]
    Mobile Web Applications (MWA) Troubleshooting Tips for Release 12 Mobile Web Applications Server [ID 782162.1]
    Mobile Application Server - Advanced Configurations and Topologies for Mobile Web Applications (MWA)of E-Business Suite 11i and R12 [ID 1081404.1]
    Mobile Web Applications Server - MWA Troubleshooting Tips for E-Business Suite 11i and R12 Oracle Mobile Application Server [ID 269991.1]
    How to Enable WMS / MSCA Logging? [ID 338291.1]
    Thanks,
    Hussein

  • How to get the session name of a batch input

    hi everybody
    does anybody know how to get the session name of a batch input?
    I have to put the name of the session at the end of my program so that the user can click on the session name to go directly to SM35 to run the batch input when the program ends

    Hi sia,
    1. Table is APQI
    2. field name for session name is GROUPID
    regards,
    amit m.

  • Login User Session details

    Could anyone provide information as how to fetch Login User session details in Web dyna pro .
    I have Text field and Label in webdynapro View.
    These need to be autofilled based on login user.
    How to achieve this requirment in webdynpro.

    Ragu,
    Here the presentation on UME API and retreving the logon user details:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/webinars-nw-rig/using%20the%20user%20management%20api%20with%20ep%20applications%20-%20webinar%20powerpoint.pdf
    You need to add these 2 jar files to buildpath
    1)com.sap.security.api.jar
    2)com.sap.security.api.perm.jar
    For more help how to add jars :
    Using JAR Class Finder
    If it's not a local project and if you use NWDI environment , here the blog how to add jars for Web Dynpro DC's.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/194bdc4f-0901-0010-82ba-bf73af5d5f75
    You can find some jar from the below sap jar finder website:
    http://sapjarfinder.com/
    Thanks
    Krishna

  • How to get User input in JTextField?

    How to get User input in JTextField? Can u anyone give me some code samples? thanks

    read the API!!!

  • How to get user logged in to ironport web

    How to get user logged in to ironport web by  their username, time connected and the IP address?

    The onbox reporting can only show what web traffic is currently being surfed.  We can provide a near-real time view of this web traffic with a "Web Tracking Report".
    However, there is not a report available that depicts what you're describing.  (This information is best contained on the domain server).  The closes we could get with the WSA is displaying which credentials we are currently caching.  (Which users we've seen since within the surrogate timeout).  This is possible with the authcache command on the cli.
    ~Tim

  • How to get the network details in flex4.5 web application

    How to get the network details in flex 4.5 web application
    similar to the nativeinterface in air application

    checkout this document for secure web application
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf6167e-7fff.html    

  • How to get HTTP session in Applcation Module IMPL file

    Hi Guys,
    Can any one tell me how to get HTTP session in Applcation Module IMPL file ?
    thnks

    You can, but that's not a best practice.
    Re: How to reach HttpContext from model Project

  • How to Handle user Session in JSP

    Help me,
    How to handle user session in JSP.......

    Prakash_Pune wrote:
    tell me some Debugging tech. so i can overcome from my problem.....Do you use an IDE? Any IDE ships with a decent debugger where in you can just execute the code step by step, explore the current variable values and check what exactly is happening. For example Eclipse or IntelliJ. If you don´t use an IDE, then just place some System.out.println() or Logger.debug() statements at strategic locations printing the variables of relevance so that you can track in logs what exactly is happening.
    or tell any other way to find is my page is thread safe or not...Just write correct code and narrow the scope of the variables as much as possible. If you for example assigned the user object to a static variable or as a servlet´s instance variable, then exactly the same user object would be used everywhere in the application. That kind of logical things.

  • How to Get user profile properties in provider -cloud hosted app in sharepoint online - office 365 using REST API?

    How to Get user profile properties in provider -cloud hosted app in sharepoint online - office 365 using REST API?
    any idea?

    Hi,
    From your description, my understanding is that you want to get user profile properties in provider-hosted app in SharePoint online using REST API.
    Here is sample code for getting user profile properties:
    http://www.vrdmn.com/2013/07/sharepoint-2013-get-userprofile.html
    Here is a blog below about accessing data from the provider-host apps:
    http://dannyjessee.com/blog/index.php/2014/07/accessing-sharepoint-data-from-provider-hosted-apps-use-the-right-context/
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to get transacted session in direct mode with jmsra adapter

    Hi,
    I use MQ 4.4u1 release with GF in EMBEDDED mode. I configured several connection factories with NoTransaction/LocalTransaction/XATransaction support. In my app I get a connection factory from JNDI tree, create connection/session/producer and send several messages to queue. Everything works fine when I don't use transactions. But, when I want to send messages in one transaction, the connection always provided to me non-transacted session. The session created via
    Session session = connection.createSession(true, Session.SESSION_TRANSACTED);
    request. I check the session transacted state and acknowledge mode right after i get it:
    log.fine("Session: " + session + "; transacted: " + session.getTransacted() + "; ackMode: " + session.getAcknowledgeMode());
    The log shows me that the session is not transacted and ackMode is 0 (DUPS_OK_ACKNOWLEDGE). If I try to commit the session after messages were sent I get the correct exception:
    javax.jms.IllegalStateException: MQJMSRA_DS4001: commit():Illegal for a non-transacted Session:sessionId=3361979872663370240
    Does anyone know how to get transactional session in direct mode?
    Thanks, Denis.

    I mentioned LOCAL because I misread your post and thought you were suggesting that LOCAL mode behaved differently.
    If you want to send messages in a transaction from within a Servlet then I think you're expected to use a UserTransaction: Here's an example that worked for me:
            Connection connection = outboundConnectionFactory.createConnection();
            Session session = connection.createSession(true, Session.SESSION_TRANSACTED);
            userTransaction.begin();
            MessageProducer producer = session.createProducer(outboundQueue);
            int numberOfMessages = 10;
            for (int i = 0; i<numberOfMessages; i++) {
                Message message = session.createTextMessage("Hello world");
                producer.send(message);
            userTransaction.commit();
            connection.close();I obtained the UserTransaction with this resource declaration:
        @Resource(name = "java:comp/UserTransaction")
        private UserTransaction userTransaction;The EJB spec explicitly states that local transactions aren't supported in EJBs; I haven't found such an explicit statement for Servlets but suspect that JMSRA is taking the same approach.
    As for imq.jmsra.direct.disableCM property - this appears to disable connection pooling and from your post changes other behaviour as well. How did you find out about it (other than by examining the code)? As far as I can see this is not a documented feature and is not necessarily tested or supported.

  • How to get user input to keep in array in the form of int[]?

    I really want to know how to get user input to keep in an array. Or if it's impossible, can i use the value in "int" and transfer it to an array?

    What I understand is that you want to set an input from the user in an array of int.
    Here is how it work:
    1. Create a stream and a buffer to get and store the informations entered by the user:
    BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
    2. Set this input in a String:
    String input = stdin.readLine();
    3. Set this string in an int:
    int userInput = Integer.parseInt(input);
    4. Then you can put this int in the array.
    Warning this code throws IOExceptions and NumberFormatException ( when you try to set letters as int ). But you can catch them easily.

  • How to get the input details on the output screen in T code KCR0

    Hi All,
    How to get the input details on the output screen in T code KCR0, the issue is that we need to get the input details like Company code and payment date on the output screen while executing the report painter via t code KCR0.
    I tried to chane the settings via t code KCR6 but still didn't get the required output details.
    Regards,
    Ajay

    This is the asset accounting forum.  You should post your question in the proper forum.

Maybe you are looking for

  • My G4 hangs on a grey screen when I try to boot in OS 9 help?!

    I'm desperate! My mac G4 that I've been running for years with both OS X and OX 9 has been unable to boot in OS 9 and I've tried almost everything form option hold on restarts to shift (exrtensions off) zapping the pram etc. I know others have had th

  • OSX 10.7.4 doesn't recognize boot disk

    My System: Model Name:          MacBook Pro   Model Identifier:          MacBookPro2,2   Processor Name:          Intel Core 2 Duo   Processor Speed:          2.33 GHz   Number of Processors:          1   Total Number of Cores:          2   L2 Cache:

  • New voice message tune

    How do you set the new voice message tune for the 8310?  I know how to set the SMS message tune which seems to be the same as the voice message tune.  Is this even possible on this phone to have 2 different tunes for the SMS and new voice message?

  • Beginner CSS multiple stylesheet Question...

    Hi, I am a complete beginner. I've followed through the Dreamweaver beginner 'Check Magazine' tutorial to create a site and it's straghtforward. My site is small, a tourist guide, basically a three column/main image homepage like the tuotorial and th

  • Very new to ARD. Quick question re: Cannot connect to client

    I will try to be brief here. I have a MacBookPro running ARD 3. I stay in conntact with my 86 year old mom with iChat and have controlled her emac with ARD 2.2 in the past. She has moved to a new home and nothing changed on her machine. I upgraded to