Retrieve user logs

Hi,
I am trying to retrieve a login id stored in a database when
a user logs in with their username and password.
This ID then needs to be inserted into another table in the
same database that I am using to track time logged on.
Also I need to know how to read/insert current times into the
table.
Can anybody help?
I am using Dreamweaver CS3, ColdFusion
Thanks,
Kenneth

>Yes, my question is how to retrieve a user log. Do you
have any idea of this?
Sure, you just need to create a page that selects the user
log data and takes a user id as an input parameter, or displays all
ids. You could add additional filters for date range, etc. Try
using DW's Recordset and Go to Detail SB's - that should get you
going.

Similar Messages

  • How to retrieve users logging-in and logging-out date and times in SharePoint

    At the moment I am using SherePoint 2013 with a few tenants.
    I am going to have access to the users logging-in and logging-out dates and times.
    For instance, I would like to know the detail of the dates and times which a particular user of a tenant has logged-in and logged-out during the past few months.
    Any idea?

    You can retrieve that info from the IIS log files. Maybe you can use a free IIS reporting tool that I've built and adjust it to your own needs, you can get it here:
    http://gallery.technet.microsoft.com/office/The-SharePoint-Flavored-5b03f323
    Btw, in a web environment usually there is no such thing as the log-out date and time because the end user just stops making requests. So, you've got to take a look at the last request and by default, after 20 minutes the session times out and you can assume
    the session has ended.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Retrieving Local User Logged In to Oracle Apps

    Hi,
    I have a report that issues Employee Payslips. I need to modify it so the user submitting the request will only be able to view his/her payslip.
    I have the following bit of code:
    SELECT distinct user_id
    FROM v$session vs, v$process vp, fnd_logins fl
    WHERE vp.addr = vs.paddr
      AND fl.spid = vs.process
      AND vs.sid=(select distinct sid from v$mystat)I also tried linking V$SESSION, V$PROCESS, and FND_CONCURRENT_REQUESTS using oracle_process_id and oracle_session_id.
    The problem is neither is returning any results. When linking V$SESSION and V$PROCESS alone, I get one record, which is what I need. But upon adding FND_LOGINS to the equation, no records are retrieved.
    So my question is, is there another way to be able to get the User_ID (that can be linked in FND_USER) of the session? I've looked up previous threads and articles but none of the solutions worked.
    Thanks.

    The main idea of the report is that a user logs into Oracle Applications and submits a request. The code in the report linked to this request has to get the username that the user logged in with and use it to retrieve only information that are related to that user.
    When taking the record with SID from sys_context, the data in V$SESSION are actually related to the server not the user so they're the same for all users.
    Executing the following query:
    select username, osuer, machine, user#
    from v$session
    where SID = sys_context('USERENV', SID);Returns the following:
    USERNAME: APPS
    OSUSER: applqa
    MACHINE: ebusdev1
    USER#: 183Same with sys_context('USERENV', SESSIONID'). And linking it to FND_LOGINS using the PROCESS column returns no data.

  • How to retrieve password character according to user logged on ?

    Hi,
    Can anybody help on this issue .
    How to retrieve password character according to user logged on ?
    I have a program will runs on multiple logins.I like restrict so that only an admin can  retrieve the password.
    How to do it ?

    > I have a report program which uploads sensitive information to presentation server.The program is also used by multiple users for other use.(billing info on excel sheet)
    That is the bugger with generic (executable) functionality. When used for multiple requirements which are too far from each other then they break or the "lowest common denominator" calls the shots.
    If this data is being uploaded from the application server, then why don't you just protect it there. The S_DATASET for that program context will not be very usefull, because it is generic.... so you can look into using S_PATH.
    > Since a user might have already logged on to system i can only ask a password as a authorization to run the program.
    Again, this means that anyone who knows the generic password (or can display / debug the code) will be able to access the data.
    A better variant of the same would be to create a symbolic service user, and prompt for that user's password before the data is downloaded. You can then use standard functions for prompting for passwords, which also update the lock counter.
    => If the password is locked due to incorrect logins, then the program is locked for this functionality as well.
    => You can periodically lock / unlock / change the access to the program, by administrating the service user in SU01.
    => Do not give this service user any authority at all - you only want to prompt for knowledge of the password, but not actually log the user itself onto the system. (see report RDDPWCHK for some example coding)
    In German this is called "von hinten durch die brust", which means something like "unusual approach but still works anyway".
    > I like to restrict access of retrieving the password  only to a  basis team.(others user can run the program)
    I would still protect the source data itself using unique authority to access it, and then control that.
    Cheers,
    Julius

  • OBIEE 11g Active Directory Presentation Service Error retrieving user

    Hi Team,
    It was a great help from all of you on our OBIEE learnings.
    I recently configured Microsoft AD on Weblogic rather than RPD. But felt like I am in a desert of helplessness due to the complicated and lengthy documents and settings :(
    Still when I configured everything and logged in to presentation services using AD Credentials, observed following error!
    Error retrieving user/group data from Oracle BI Server's User Population API.
    Error Details
    Error Codes: GDU6UYHS:OPR4ONWY:U9IM8TAC:OI2DL65P:SDKE4UTF
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 13049] User 'gp06108' with 'oracle.bi.publisher.scheduleReport;AtAGlance;oracle.bi.publisher.accessReportOutput;_all_;oracle.bi.publisher.accessExcelReportAnalyzer;_all_;oracle.epm.financialreporting.accessReporting;Explore;oracle.bi.publisher.accessOnlineReportAnalyzer;EPM_Essbase_Filter;oracle.bi.publisher.runReportOnline;oracle.as.scheduler.security.MetadataPermission' permission can not query user population.Please have your System Administrator look at the log for more details on this error. (HY000)
    Please have your System Administrator look at the log for more details on this error.
    Expression: privileges['Admin: Catalog']['Change Permissions']
    Total blockout! Anyone faced this issue earlier

    You need a user to be present in your Active Directory Base DN that will be used as the BISystemUser. You will either have to create this user in AD or use an existing AD user and then specify its credentials in Enterprise Manager (expand Weblogic Domain > bifoundation_domain (right click) > Security > Credentials). You will need to set system.user credential under oracle.bi.system map. Make sure your AD user's password never expires or you will run into problems in a few weeks time!
    Paul

  • JSP session getting destroyed when second user logs in

    Hi,
    I am facing a session related problem in a small login program in jsp. I am using three jsp pages, login.jsp (user logs in), page1.jsp (creates a session and stores username) and page2.jsp (accesses session).
    Login.jsp:
    No jsp actually. Just a simple html form.
    Page1.jsp:
    String name=request.getParameter("Name");
    session=request.getSession(true);
    session.setAttribute("Name",name);
    Page2.jsp:
    session=request.getSession(false);
    if(session.isNew())
    System.out.println("new session created");
    String name=session.getAttribute("Name").toString();
    As expected, it works like session getting set at page1 and used at page2. It works good if users log in one by one. The problem arises when 2 (or more users with different logins) try to access the page at same time. When a new user logs in, the previous user session gets destroyed (session.isNew() becomes true and session Id changes).
    Is it the way I am using sessions (missing something), or there is some setting in tomcat server to specify maximum number of logins (sessions that can be handled).
    Regards
    Kamal

    Hi,
    Thanks for reply, but I guess the problem is not clear. Let me explain..
    A user logs in, he reaches first page (page1.jsp), here session is getting set. Then user goes to page2.jsp where application retrieves the information from session and uses it. It works all well.
    When two (or more) user logs in.. First user logs in, he reaches page 1, session is set. But then another user logs in (different id) and a session is set for him as well. Now the problem here is that session for first user gets destroyed at this point, which is unexpected (two sessions should not conflict, on different machines).
    Additionally, the problem does not happen necessarily at second login. eg. sometimes 4 users log in and when fifth one logs in, fourth gets logged out (session gets destroyed).
    I am not able to figure out, whether the problem is in code (given in first post) or there is some tomcat setting responsible for this behavior.
    Regards
    Kamal

  • How to retrieve user name from a given Subject?

    I am in a situation where I need to retrieve user name from the Subject that is populated when user logs in. I have the active Subject and I do following to get the principals in the subject and iterate through them:
    Set principals = subject.getPrincipals();
    Iterator ite = principals.iterator();
    while (ite.hasNext()) {
    Principal prin = (Principal)ite.next();
    String name = prin.getName();
    But this contains all the principals, including user name, roles, password, etc. How do I programmatically determine which one is user name?

    Don't you have different principal types? I am making a jaas module and I have different principals for roles, groups etc. I think of principals as attributes, the type in the attribute name and the principal name is the attribute value.
    To get all the principals of the type SomePrincipal, you can use:
    Set principals = subject.getPrincipals(SomePrincipal.class)
    You can also take som principal an test wether it is an instance of som type:
    if (Principal p instanceof SomePrincipal){..}
    An other solution which might be better if you have many different attributes is to store both attribute name and value in the name of the principal.
    If "mark" is a username the principal name will be "username:mark" el.
    Then it will be easy to find the username.

  • How to retrieve User Description for a particular MDM User from Console ?

    In my Application i  have to retrieve User Descripton(a field) for the MDM Users  from Console. I am using MDM Java Api 1(MDM4j) in my application. Is there any way i can retrieve MDM User Description from Console without using MDM Admin API?

    Hi Namrata,
    Sorry, I have a different perspective from you (I don't work with the Java API). So, you can ignore what I said about the protocols. That's lower-level than what you would care about.
    The correct thing to do is to use the Admin API to get the users, as you are doing. If you have to log in twice, it might be because you're using the old Java API.
    Please verify that you're using these packages:
    mdm-core.jar, mdm-common.jar, mdm-protocol.jar, mdm-data.jar, mdm-admin.jar
    versus the old API, which was called mdm4.jar.
    Thanks,
    Cleopatra

  • What is the last time a user logged in?

    I want to create a portlet which shows the last time a user logged in (before the current session)
    As PORTAL user using sql, I could query view orasso.wwsso_audit_log_view , but this view is not accessible for normal users in the portal. So I can't access this view in a dynamic page portlet.
    What's the best way to retrieve this info?
    Regards,
    Ton

    Ton,
    create a PL/SQL function in the Portal schema that accepts username as a parameter and returns required data. Grant execute privilege on that function to PUBLIC or to a DB schema in which you are building your portlet.
    Cheers

  • ImportSecurity.cmd - Error retrieving user

    Hi,
    I am trying to import the Secfile.txt with the security settings using the ImportSecurity.cmd command. When I run the command I get the following message (after a successful logon)
    WARN main com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving user by identity
    Henceforth none of the security gets imported.
    Mon Jun 22 14:37:51 BDT 2009 :: Total Rows Provided=286 Added Successfully for=0
    Mon Jun 22 14:37:51 BDT 2009 :: Logging off from application ....
    Mon Jun 22 14:37:51 BDT 2009 :: Logged out of the application.
    Mon Jun 22 14:37:51 BDT 2009 :: Import security Completed successfully.
    Can anyone please help regarding this?
    Shehzad

    John,
    I have checked the import using just one line in the secfile.txt file and it still doesn't work.
    I'm adding the first few lines of the output to illustrate that the utility logs in correctly and the error I get for each line being imported.
    And also apologies for my english. Henceforth isn't a user. The user I am using to login to the system is admin user. I've also tried it with other administrative users ensuring that they were the application owners as well.
    I have tried adding users and groups to the Secfile.txt but I still have no success.
    Mon Jun 22 15:37:56 BDT 2009 :: The length of the string:: 1
    Mon Jun 22 15:37:56 BDT 2009 :: Validating the Secfile.txt...
    Creating rebind thread to RMI
    Mon Jun 22 15:37:56 BDT 2009 :: Logging into the application
    Setting Arbor path to: E:\Hyperion\common\EssbaseRTC\9.3.1
    Setting HBR Mode to: 2
    HBR Logging Config File : HBRServer.properties
    2009-06-22 15:37:58,640 WARN main com.hyperion.hbr.security.HbrSecurityAPI - Err
    or retrieving user by identity
    Embedded HBR initialized.
    Mon Jun 22 15:37:58 BDT 2009 :: Logged in successfully
    Mon Jun 22 15:37:59 BDT 2009 :: The following access not imported:-CMLAccounts,"
    HI0070",read,MEMBER,sl_group due toInvalid user name found in the file.
    Shehzad
    Edited by: shehzad k on Jun 22, 2009 2:46 PM

  • Display current user logged into Oracle DB

    Is there any way to display current user logged into our Oracle DB using this version. We don't have the Enterprise solution.
    thanks

    Hi, I am new to this in Crystal but created a SQL expression such as:
    SELECT USER FROM DUAL
    and tried
    SELECT USER FROM DUAL;
    and received a compile error (failed to retrieve data) in Crystal?
    any help is appreciated!

  • Error retrieving user by identity

    Hi guys,
    I have some weird issue.
    I started to have issues with some user which is supposed to connect to Planning 9.3.1. The user is not provisioned directly; it is a member of 2 groups which are provisioned.
    There are other users in those 2 groups and they have no similar problems. It started when I was able to connect to planning, but wasn’t able to see HBRs. I tried deprovisioning, deactivating, etc., it didn’t help. Then I deleted the user and created it again. From that point when I try to connect to HyperionPlanning I receive the following error message:
         Failed to sync with user provisioning. Check Planning log for details
    I started Planning in console mode and at the time of login I receive the following message:
    Error retrieving user by identity
    Embedded HBR initialized.
    com.hyperion.planning.DuplicateUserException: Another user with the name ANT2122
    already exists.
    It looks like traces of the deleted user stuck in the repository. Do you know how can I fix it/clear it up?
    Thanks a lot,
    Dmitry

    Ok, i cleared the planning repository from that user, more specifically the following tables:
    HSP_GROUP
    HSP_USERSINGROUP
    HSP_USERS
    HSP_OBJECT
    HSP_USER_PREFS
    HSP_MRU_MEMBERS
    HSP_ACCESS_CONTROL
    restarted the services and it came back to work.

  • Unable to capture trace, when user logs in throuigh Web Interface

    The Trace shows 'No Records Found', when user logs in through Web Interface of CRM. But there is Trace found, when the same user logs in through logon pad and carries out normal actvities.
    sufficient auth. is provided.
    Is there any setting in ST01, through which i can get trace , when user logs in through Web Interface
    Regards

    ST10 traces 1 instance only.
    Your CRM web interface could use another instance than your backend. Go to transaction SM21, choose the appropriate server and run ST10 again.
    Succes!
    Kind regards,
    Lodewijk Borsboom

  • How to show all user logged in/loggout in Report

    How to display All User Logged in time & Logout Time?
    Hi..
    I want to display All user in Portlet a report that show us all user that logged in the portal,
    their username,
    their time logged in,
    their time logged out..
    where can i find these information?
    do Portal have already something like this?
    Plz advise..Thanks.

    Thanks Sharmila for answering my question..
    Similar question i want to ask..
    I look at the table, and view it's data...
    Mmm..some i don't recognize...
    Actually, i just want to grep
    1)The UserId of the user who logged in the portal
    2)The time he logged in the portal
    3)the time he log out the portal
    That's all..
    How can i do that?..
    I plan to create one table to store the data, and plan to grab the data by jsp....
    What are the table/function/api that can i use and how?
    Plz advise.
    Thanks

  • How to set printer margins if using a lot of printers in virtual desktops which are deleted each time users logs off

    Hello,
    i am using Firefox version 31. I have a problem with page setup margins. I need to use left
    30mm; right 10mm; top 20mm; bottom 20mm. I am using VMware floating assignemnt linked clones
    virtual desktops. After users log off - machines are deleted and users next time logs on get's brand
    new VDI's. Users gets printers to VDI using login script from Active Directory.
    Option Explicit
    Dim strPrinterUNC, objNetwork
    strPrinterUNC = "\\some_server\printer_number_1"
    Set objNetwork = CreateObject("WScript.Network")
    objNetwork.AddWindowsPrinterConnection strPrinterUNC
    WScript.Sleep (20000)
    objNetwork.SetDefaultPrinter strPrinterUNC
    Set objNetwork = Nothing
    Each user have different logon script, because they use different printers (different printer names e.g. \\some_server\printer_number_2 ; \\some_server\printer_number_3 and etc. Page setup margins in Internet Explorer are ok. But how to make Firefox page setup margins as i need? For other options i have
    used CCK2 Wizard 2.0.4 tool. It worked fine. Maybe i can put some information in C:\Program
    Files\Mozilla Firefox\defaults\pref\autoconfig.js I have some usefull data in it allready. I
    have found info that: "Setting print margins is done in the printer settings". I have a lot of
    printers, so i can not set printer margins individualy for each of them. Now mozilla shows top,
    bottom, right, left each 12.7 mm. What should i do if i have a lot of printers in enterprise
    environment?

    Firefox has a profile folder that has preferences to save this. But the config that would need to be changed is:
    print. save_print_settings = True - (default): Save the print settings after each print job
    Locking that preference: [http://kb.mozillazine.org/Locking_preferences]
    Or done manually:
    #In order to check the margins, we need to go to ''File'' > ''Page Setup''.
    #Once this is done, switch to the ''Margins & Header/Footer'' tab.
    #Check what's set there under ''Margins''.
    The following are the default values for ''Margins'':
    Check these values accordingly and change them if necessary.

Maybe you are looking for