User last logon table

Hi experts,
Anyone knows what is the table where the portal stores the user last logon? The table WCR_USERFIRSTLOGON is for first logon, but... for the last logon?
Thanks in advance,
Regards,

Hi Victor,
    First thing there is no seperate table for getting User Last Logon information. But we can get the User Last Logon information
by fetching data from two Standard tables
1.WCR_WEBCONTENTSTAT 
2.WCR_USERPAGEUSAGE. Using the Primary key of table 1 we can compare it  the data with table2 to sort the Last Logon Date for the particular LoginID. Check it you will get a idea.
This works when all the iViews or Pages for the End-Users have Moniter Users property enabled.
Regards,
Nivas
Edited by: Nivas209 on Jul 5, 2011 7:41 AM

Similar Messages

  • DB USER Last Logon Date

    Hi All,
    How to find a Database USER last logon date on 10g? by script.
    Thanks,

    You need to enable auditing to view history in audit files. In v$session you can see only connected sessions.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1830073957439
    http://www.dba-oracle.com/art_builder_sec_audit.htm

  • AD Users Last Logon Time

    Hi Folks,
    I need to generate User's Last logon time from AD database. Could any one please assist me on this.
    Thanks in advance !
    -Chalapathi

    Hi,
    Get-ADUser -Identity USERNAME -Properties LastLogonDate |
    Select SamAccountName, LastLogonDate
    Link to syntax:
    http://ss64.com/ps/get-aduser.html
    EDIT: Just in case:
    http://blogs.technet.com/b/askds/archive/2009/04/15/the-lastlogontimestamp-attribute-what-it-was-designed-for-and-how-it-works.aspx
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • Cisco ASA - AAA Users last logon

    Hello,
    I'm somewhat novice when it comes to ASA so I'm hopeing someone can help me figure out a way to determine the last logon of the AAA Local Users?  I would like to cleanup all the inactive users since we use mostly Citrix now-a-days and all other users are supposed to be AD Authenticated through the ASA.  In other words, most of the 40 local account should be inactive although some may still be used and I need to determine which.  Anyone have any ideas?
    Thanks,
    Nick

    It is possible using AAA server (using protocol LDAP, Kerbrose, Radius or TACACS) .
    Have a look at following link:
    http://www.cisco.com/en/US/products/ps6120/products_configuration_guide_chapter09186a008070317f.html
    Regards
    Rohit Chopra

  • Portal users - last logon time details

    Hi , 
    We have an requirement to get the list of users who logged in with the Last Logon Information  .
    From Standard Portal activity report ...we can get only the First logon date of the users .
    Kindly let us know the other possibilities to get it .
    Thanks ,
    Keerthi

    Hi Keerthi,
    Apart from Coding there is one option available through Authentication logs,this is tested in NW7.3 iam not sure which version you are using if you are using 7.0 then please check if this is available in 7.0 or not.
    1) Go to NWA
    2) Go to troubleshooting and logs section
    3) Open log viewer and choose Authentication logs from the logs option
    4) Specify the time frame in filter and choose everywhere for the logs to be picked up in generated report ,this wil gather authentication data from all server nodes.
    5) these logs will show each and every login performed bu Useres and it also shows how many times user have logged in to a particular application,choose IRJ as the application.
    6) Export the content to excel file and apply filter ,choose aplication as IRJ and choose date and time and select a user it will show all login with the date and time.
    7) You can feed this data to a predefined excel format and pull out necessary info ,only you need to develop an excel template for your reporting purpose and manually logs requires to be pulled in from NWA to feed the excel .
    this is another way which does not involve any java coding and tested on NW7.3 versions of Portal.
    hope this helps.
    Thx,
    Siddharth

  • Export Office 365 User Last Logon Date

    When following this procedure http://technet.microsoft.com/en-US/ms772425 I receive the error below. Any help is appreciated.
    C:\Get-LastLogonStats.ps1 : A parameter cannot be found that matches parameter
    name 'InputFile'.
    At line:1 char:97
    + .\Get-LastLogonStats.ps1 -Office365Username uername@domain -Office365Password
    password -InputFile <<<<  c:\Files\InputFile.txt
        + CategoryInfo          : InvalidArgument: (:) [Get-LastLogonStats.ps1], P
       arameterBindingException
        + FullyQualifiedErrorId : NamedParameterNotFound,Get-LastLogonStats.ps1

    You need to enable auditing to view history in audit files. In v$session you can see only connected sessions.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1830073957439
    http://www.dba-oracle.com/art_builder_sec_audit.htm

  • How can I see the last logon of one user?

    Hi experts!
    I need to check the last logon of one user.
    How can I check that?
    Thanks a lot!

    Hi Carlos,
    You can check the users last logon to SAP from :-
    SE16N - Table USR02
    <b>Last login is TRDAT - Last logon date
                       LTIME -  Last logon time</b>
    Thanks,
    Vinay

  • User last login informatoin in a Portal report

    Hi,
    We are looking any report which can show the Users Last logon dates.   We can see it in GUI but how to get this in Iview report.  Is there any standard report like Portal Activity report.  Portal Acitivty report will show the First logon date but not Last logn date.
    We want to see the users latest logon date.
    thanks
    Naveen

    I do not know if any such report is there but if you just want the last successful logon details you can use ume api lastsuccessfullogondate
    also this thread may be useful for u:
    /thread/9515 [original link is broken]

  • Last Logon Inaccurate

    Hi
    I am using this AD Tidy tool and found that a user last logon time was on a Sunday @ 5PM. We have confirmed that the last day for the user is Friday @ 5PM.
    We forgot to disable the account until Monday. But what we find it weird is that this User does not have any remote access back to office and so how did the last logon time still showing on Sunday @ 5PM instead of Friday?
    Could the last logon time be wrong on the AD? We have about 6 DCs across 3 sites (2 DCs in each site)
    Thanks

    Hi
    I am using this AD Tidy tool and found that a user last logon time was on a Sunday @ 5PM. We have confirmed that the last day for the user is Friday @ 5PM.
    We forgot to disable the account until Monday. But what we find it weird is that this User does not have any remote access back to office and so how did the last logon time still showing on Sunday @ 5PM instead of Friday?
    Could the last logon time be wrong on the AD? We have about 6 DCs across 3 sites (2 DCs in each site)
    Thanks
    The date of Sunday is unusual.  I have seen where a last logon of Sunday doesn't reflect in the replication timestamp since it shows as behind the last logon but not ahead of the last logon. So my guess is there was a service, scheduled task -or- Exchange.
    Also note disabling the user (At least it didn't in Exchange 2007) doesn't stop the user from connecting with their phone to read email via ActiveSync.
    http://blogs.technet.com/b/messaging_with_communications/archive/2012/06/26/activesync-disabled-accounts-and-devices-continuing-to-sync.aspx
    Paul Bergson
    MVP - Directory Services
    MCITP: Enterprise Administrator
    MCTS, MCT, MCSE, MCSA, Security, BS CSci
    2012, 2008, Vista, 2003, 2000 (Early Achiever), NT4
    Twitter @pbbergs http://blogs.dirteam.com/blogs/paulbergson
    Please no e-mails, any questions should be posted in the NewsGroup.
    This posting is provided AS IS with no warranties, and confers no rights.
    Thanks for the response. I have done a check on OWA login using the Powershell command below to find all the logins in Apr but did not find any. So not sure how the time stamp would be of a future date.
    Select-String “C:\Inetpub\logs\LogFiles\W3SVC1\u_ex1404*.log” -Pattern “/owa/forms/premium/startpage.aspx” | Select-Object
    {$_.ToString().Split(” “)[0,1,7]}
    “C:\Inetpub\logs\LogFiles\W3SVC1\u_ex1404*.log” means all the logs from April 2014
    Select-Object {$_.ToString().Split(” “)[0,1,7]}
    means all column 0, 1 and 7.
    Thanks

  • Is there a system table or V$ view that will show a user's last logon date?

    Is there a system table or V$ view that will show a user's last logon date?
    I'm using Oracle 9.2.0.7

    sqlplus
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Aug 31 12:44:42 2010
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter user-name: / as sysdba
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> desc user$
    Name                            Null?    Type
    USER#                            NOT NULL NUMBER
    NAME                            NOT NULL VARCHAR2(30)
    TYPE#                            NOT NULL NUMBER
    PASSWORD                             VARCHAR2(30)
    DATATS#                       NOT NULL NUMBER
    TEMPTS#                       NOT NULL NUMBER
    CTIME                            NOT NULL DATE
    PTIME                                  DATE
    EXPTIME                             DATE
    LTIME                                  DATE
    RESOURCE$                       NOT NULL NUMBER
    AUDIT$                              VARCHAR2(38)
    DEFROLE                       NOT NULL NUMBER
    DEFGRP#                             NUMBER
    DEFGRP_SEQ#                             NUMBER
    ASTATUS                       NOT NULL NUMBER
    LCOUNT                        NOT NULL NUMBER
    DEFSCHCLASS                             VARCHAR2(30)
    EXT_USERNAME                             VARCHAR2(4000)
    SPARE1                              NUMBER
    SPARE2                              NUMBER
    SPARE3                              NUMBER
    SPARE4                              VARCHAR2(1000)
    SPARE5                              VARCHAR2(1000)
    SPARE6                              DATE

  • Last Logon date and Logon time not updating in table USR02

    Hi,
    Please help us on this. After customer successfully logged in the webshop, we are checking the table USR02 in CRM system and the Logon date and Logon time is not updated. Because of this, the customer will be locked after certain number of days. When we check it in ECC system, customer's last logon date and time is updated. Can you tell us what could be causing this? Any advise what we need to check? Thanks in advance!
    Regards,
    Mike

    Hi
    1. Please check if the USAPPLREF table in ECC has the correct mapping done between the LOGON User and the Sold-to party (Customer)
    2. Please check the validity of those user in SU01 user data.
    3. Please check the USERS data from the USERADMIN Link (if it is configured in your scenario through XCM settings for USERS)
    Hope this will help.
    Regards

  • Regd Last Logon of User Logged onto portal

    Hi Experts,
    I am new to Enterprise Portal developments. I have a requirement like to display the last logon date and time of a person logged onto the portal.
    The Last Logon date and time ought to be displayed in the portal masthead. I already tried a few methods in doing it but it was not successful.
    In my coding I used getUserFactory() method to get the user data, but the compiler is throwing a compiling exception. I have included the com.sap.security.api.jar file. (Development is done in NWDS)
    Still its showing error. Is there anything I am missing in the above method. Is there any easier method than the above ??
    Thanks in Advance. Your help will be highly appreciated!!
    Regards
    Anand Sekar

    Hi Anand,
    You can use the below code to get the information you are seeking. To test it create n abstract portal component and copy and paste below code:
    public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
              DataSource dataSource= null;
              ResultSet resultSet= null;
              String sqlStatement =null;
              ResultSetMetaData rsmd =null;
              String nativesqlStatement=null;
              try
              sqlStatement = "select MAX(TIMESTAMPHOUR),LOGONID from WCR_USERSTAT GROUP BY LOGONID";
                   InitialContext initialContext= new InitialContext();
                   dataSource= (DataSource) initialContext.lookup("jdbc/SAP/EP_PCD");
                   java.sql.Connection connection= dataSource.getConnection();
                   java.sql.Statement statement= connection.createStatement();
                   Statement stmt=NativeSQLAccess.createNativeStatement(connection);
                   resultSet= statement.executeQuery(sqlStatement);               
                   rsmd=resultSet.getMetaData();
                   if(resultSet!=null)
                        int m = 0;
                        response.write("<html>");
                        response.write("<body>");
                        response.write("<br>");
                        response.write("<TABLE width='100%' border='2' cellspacing='2'>");
                        response.write("<tr>");
                        response.write("<td>"+"LAST SUCCESSFULL LOGON" +"</td>" );
                        response.write("<td>"+"LOGONID"+"</td>" );
                        response.write("</tr>");
                        while (resultSet.next()) {
                             m++;
                             Timestamp ts = new Timestamp(resultSet.getLong(1));
                             response.write("<tr>");                         
                             response.write("<td>"+ts.toGMTString()+"</td>" );
                             response.write("<td>"+resultSet.getString(2)+ "</td>");
                             response.write("</tr>");
                        response.write("</table>");
                        response.write("<br>");
                        response.write("Record count is " + m);
                   catch (Exception e)
                         response.write("<br>Exception : " + e);
                         response.write("</body>");
                         response.write("</html>");

  • How to find the Last logon detail of a deleted user?

    I need to find the last logon detail of a deleted user.I have tried with SM20 i got the details,but i coildnt get for few users.Is there any other way to get this?

    Hi Eva,
    Follow below:-
    1. Go to Se16
    2. table name either USH02 or USH04
    3. provide BNAME row as your user name then execute it
    4. you will get all the entries for that user in the next output screen
    5. Check the Column names like
    MODDA 
    MODTI
    MODBE   
    TCODE REPID
    For the Details which you need.
    The descriptions of this columns are as below:-
    MANDT                        
    Client
    BNAME                        
    User
    MODDA                        
    Modification date
    MODTI                        
    Modification time
    MODBE                        
    Changed by
    TCODE                        
    Not More Closely Defined Area, Pos
    REPID                        
    Program Name
    BCODE                        
    Initial password
    GLTGV                        
    Valid from
    GLTGB                        
    Valid through
    USTYP                        
    User Type
    CLASS                        
    User group
    UFLAG                        
    User Lock Status
    ACCNT                        
    Account number
    PASSCODE                     
    Password Hash Val.(SAH1, 160 Bit)
    CODVN                        
    Password Code Vers.
    PWDINITIAL                   
    Indicator: Password Is Initial
    Let me know if you need further help in this.
    Regards,
    Ram

  • User Last Successful logon date and time

    Hello All,
    We have a requirement to display Last successful logon date and time every time user logs on to the Portal. Datasource for the portal is SAP.  I see few forums suggesting to use WCR_USERSTAT table, but i don't see this table being updated every time i logon to portal. Is there any work around for this?
    Thanks,
    Indrajit

    Hi IndraJit,
    Have a look at below link, if it can help.
    Regd Last Logon of User Logged onto portal
    I guess, the only way to get the info is through WCR_USERSTAT table. Also, check if the aggregator application is running on portal which tries to collect the aggregated data.
    http://help.sap.com/saphelp_nw04/helpdata/en/58/728ea01cf64fff996b827f2a06f9b1/content.htm
    Thanks and regards,
    Madhu Sudhan.

  • Search for User by last logon date no longer works after upgrading to SPS18

    We used to be able to Search by last logon date under User Administration as a quick way to find out who logged on for a particular date.  It worked well, but only for a single date range.  We were on EP 6.0 SPS13 at the time.  Since we have upgraded to SPS18, it no longer works.  All we get back now is no user found no matter what date we enter. 
    Has anyone else experienced this problem?  I've been searching and haven't found anything.  I wanted to try and get more information before I create an OSS message.
    Thank you,
    Kathy

    it's since SP16, to be correct: http://help.sap.com/saphelp_nw04/helpdata/en/43/bc6b9202454dece10000000a422035/frameset.htm
    kr, achim

Maybe you are looking for