Last login of SAP-user

Hi there,
I'm looking for the database table and field that contains the date of the last login of an sap-user.
Is there anything like this?
Thanks...
Kind regards
Markus

The above may work some of the time (sometimes also unreliably as you may incorrectly interpret the single fields of tables, or SAP might change them, as they have also done), but they are not the intended solution for this.
The correct tool is SM20(N) recording the event "Successfull logon" which will also tell you which "type of logon" it was.
Cheers,
Julius

Similar Messages

  • Last login time of user

    Hi Friends,
    I wanted to know the name of dictionary view which keep the user login details iee. login date and time. I want to check that what was the last login time of user. So that if user has not logged in since 30 days then his acccount must be locked.
    Plz let me know if someone has any idea on this
    Regards
    Alok

    Hi Guys
    Thanks for your response. Let me more clear you what i m looking for.
    I have 100s of developers working with me. I keep on maintaining data which user is being used by whom. I am using product/project based username. I want to achieve the following.
    1) Find the users those are not using their login since X nos of days ie. to know who all are in use. Objective of this to know if any developer has swiched or quite from project.
    2)I will lock those account and notify those owner that account has been locked considering that they are not using.
    3)now these accounts can be allocated to some other developers on need basis.
    This will give me flaxibility of using my existing resource and better management.
    I hope i m clear with what all i need.
    Please suggest best way to do this :)
    Thanks a lot.
    Alok

  • Last Login date of user

    Hi,
    Can anybody please tell the data dictionary table to get the Last Login date of users.

    No such data dictionary available for login date and timestamp.
    You can go for logon triggers. Search in Oracle Documentations/in this forums/google, for samples/examples.
    Regards,
    Sabdar Syed.

  • Info of Last login details of Users

    Hi
    I want to information of last login details of users using MAXL cmd....
    is there any such cmd in Maxl which will give out put of users last login..... if so can u any one help me in this
    Thanks
    SSS

    This is just one of several areas where MaxL fails to live up to its potential to completely replace Esscmd. Development of MaxL seems to have essentially stagnated after the inclusion of MDX. We still run a handful of Esscmd scripts (such as GetUserInfo so we too can get last login) simply because MaxL does NOT have a substitute for everything Esscmd offers.
    The prevailing response I always see is "well, gee, you can always write a Java API program to do ...." which is a fine response for a developer, but kind of weak for those whose primary responsibility is database administration with the occasional script thrown in for good measure. The complexity of System 9 and later releases is now making it virtually mandatory to learn and use Java to accomplish anything. Perhaps I am just pining for the good old days, but making simple things harder than they were before strikes me as a step backwards.
    Oh well, enough ranting. Time to make the cubes sing once more.

  • Portal Acitivty report to track Last login date of user

    Hi,
    We need a report which shows the last logins of Users in Portal.  We checked the Portal Activity Report but it is showing only First login.  But we need the Last login how can I configure the Portal Activity report.
    Thanks
    Naveen.

    Hi All,
    Just in case Activity Collector or Portal Activity Report is not sufficient for you and your portal management to gather important usage data, you may be interested in our SAP certified solution, Click Stream.
    May make your life a lot easier when finding the usage stats you need (Easy installation u2013 Free download u2013 Fully functional test version available).
    More information here:
    Website: [www.sweetlets.com/clickstream|http://www.sweetlets.com/clickstream]
    EcoHub reviews: [http://ecohub.sdn.sap.com/irj/ecohub/solutions/clickstream|http://ecohub.sdn.sap.com/irj/ecohub/solutions/clickstream]
    Good luck and hope that helped.

  • Displaying last successful login details of user

    Hi,
    I want to display last successful login details (timestamp may be) on Portal homepage.
    By configuration
    Is there any configuration that we can do to display it on Masthead area may be?
    By code
    I found following two links that talk about direct access of Portal table.
    http://wiki.sdn.sap.com/wiki/display/Snippets/DirectAccesstoDatabaseTables
    http://help.sap.com/saphelp_nw04/helpdata/en/48/6aa9429b930b31e10000000a1550b0/frameset.htm
    In this case, what query should I write to get the last login details of user?
    Please help.
    Thanks and regards,
    Amey

    Hi Ameya,
    Thanks for reply.
    1. I was wondering if there is any System admin level configuration we can do to show this info?.
    Is there any such facility?
    2. Through code, this is what I did: -
    I am getting the last logon timestamp by following code (inside JSPDynpage) : -
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.Statement;
    import java.sql.Timestamp;
    import javax.naming.InitialContext;
    Connection con=null;
    Statement stmt=null;
    ResultSet rs=null;
    InitialContext ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup("jdbc/SAP/EP_PCD");
    con = ds.getConnection();
    stmt = con.createStatement();
    String connectedUser = _request.getUser().getUniqueName();
    rs = stmt.executeQuery("select MAX(TIMESTAMPHOUR) from WCR_USERSTAT where LOGONID='"+connectedUser+"'");
    int m = 0;
    while(rs.next()){
         m++;
           Timestamp ts = new Timestamp(rs.getLong(m));
         lastLoginString = ts.toGMTString();
    I guess selecting 'MAX' value of time-stamp would return the latest logon time.

  • How to find the last login details of a Sharepoint SSRS user

    How to /where to find the last login details of SSRS sharepoint user. Is there any table where we can check the last login details of user. This is because we are facing an issue of Subscription failure due to Sharepoint token expiration. If user logs in
    before 24 hours of his last login time, he is able to get his report subscription. If not, below error is thrown.
    The permission granted to user 'domainname\username' are insufficient to perform this operation.

    Hi,
    According to your post, my understanding is that you want to monitor the last login user’s details.
    There is no out of the box way to achieve it in SharePoint.
    We can use cookie to be a flag for checking whether there is an user just log in. After the page loaded, if the cookie is null, it suggests that there is an user just log in our site, then we
    can get this user’s information using JavaScript Object Model and add the information into a custom list. With this list, we can monitor user’s login details.
    Refer to the following link:
    https://social.technet.microsoft.com/Forums/en-US/0cd4d531-cb61-4d90-aa70-413267f4a735/how-to-know-login-and-logout-details-of-a-user-in-sharepoint-online-2013?forum=sharepointdevelopment
    Besides, here are two similar posts for your reference:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/1a35283e-0f2a-49b8-b330-801a3cfcd890/programatically-get-all-current-logged-in-users-list-for-a-sharepoint-site?forum=sharepointdevelopmentprevious
    https://social.technet.microsoft.com/Forums/en-US/10953be3-cb1c-40c7-9454-545c8338b551/how-to-know-login-users-count-and-their-details-in-sharepoint-2010-web-application?forum=sharepointgeneralprevious
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Display Last Login Information ?

    I would like display the last login information for user after success login. I expect to show it via add a dialog or a separate JSP.
    Where can I get these information and where to add the code ?
    Thanks.

    Hi,
    Here is an SAP note talking about changing the back ground color.
    I will say take this one as starting point and hope it will help you.
    1291807
    This says...
    Go to
    Program Files\Business Objects Enterprise 12.0\warfiles\WebApps\AdminTools\
    Edit the default.css file with desired values and rename to test.css.
    Copy the test.css to
    Program Files\Business Objects\Tomcat55\webapps\InfoViewApp\res\schema.blue\
    Change the properties of the Infoview application from CMC--> Applications to show the test.css as the style sheet
    Leave the rest of the options as the default
    Restart the webi processing server
    Restart Tomcat
    Regards,
    Bashir Awan

  • Problem in CMC login with SAP authentication type

    Hi,
    We have installed the SAP Integration kit successfully for BO XI R2 & when I logon to CMC i am able to enable the SAP authentication and import the roles from the SAP BW system as well. But when I try to login into CMC using the 'Authentication type' as SAP it doesn't display the textboxes for entering  System ID and Client details. Can you please tell me how to fix this?
    Also I see that the CMC & Infoview authentication type drop down list are not the same. The CMC has the authentication types available as 'SAP,LDAP & Enterprise' where as Infoview has 'Enterprise, LDAP & AD'.
    Is this an issue with the Plugins? do i need to do some settings on the Tomcat ?
    Please help me out in this..
    Thanks in advance!
    Phani.

    Thanks for your update Jac...yes thats correct. Also I had to include authPlugExt.properties file in the tomcat/shared/classes, which i did not include previously. The SAP infoview is working fine now.
    Just one more question, in CMC login doesn't the SAP authentication require sap system & client id as its inputs? (in XI R2). I noticed that I was able to login with SAP user id's (without mentioning system details) , that have been added when I have imported the SAP roles to BO.

  • SAP* user not working in new client

    Hi,
    I created a new client from SCC4. And now I am trying to login with SAP* user and pass password but it is not allowing. Note provided in SAP Config Guide is not working.
    I installed SAP Solution Manager 7.0 SP12 and then created a client.
    Please let me know how to solve this issue.
    Points will be awarded.
    Regards.

    Hi!
    I agree that the issue is probably due to the parameters for the automatic user SAP* - not sure about the Masterpassword though - the newly created client is only an entry in a table at this stage, so I don't think the system will know any password but the hardcoded one...
    Something you should be very careful about is the Java-Stack, which is part of SolMan7 and which runs SMD. The Java stack can only interface with one client properly, so I am not sure what's the idea behind the newly created client.
    Regards,
    Jörg

  • Is there a way to audit user accounts by last login date/time?

    Hello all,
    Is there a way to see or report on a user's last login.  I don't see a last login date parameter in the UM record.  I see that all security events are logged in the security log including logon and logoff, but what I need is to be able to produce a report that provides all user accounts which have not been logged on to since a specified date or # of days, i.e. since 01/01/2008 or >180 days.
    Any clues or guidance is appreciated.
    Regards,
    Paul

    Is there a SAP / Portal standard way of accessing this information?
    Our authorisations team have asked me to get them such a report, and I can't find anything on the portal (NW2004) that would give this information. I don't think the basis guys would be terribly chuffed to provide access directly to the database. If this (database access) is the only way, then I suppose a custom developed app could be created and deployed to the portal, but I would have thought this is a reasonalby sensible report so would be standard content somewhere.
    Cheers,
    Andrew

  • Last login date of a deleted user

    Hi there,
    Could you please let me know how to find the last login date of a deleted user in the SAP.
    Thanks
    Amit.

    Hi Bernhard,
    Thanks a ton for the reply.
    you are correct that they you cannot get the details of a deleted user from USR02 but they are ways in which you can still find the last login date of a deleted user.
    One of the ways is using of transaction SUIM but i have no idea why this is not working in my system.
    Anyways if you can find any relevant detail please let me know.
    Regards
    Amit

  • How to get last login date of the user

    Hi,
    I have an application where i need the last login date of the user and if the differance between the last login date and the system date is greater than a certain range the user account should be locked automatically.Please suggest me how resolve the problem as early as possible.
    Thanks and Regards
    Aniruddha

    Hi,
    We have faced the same issue earlier. Some attributes are available in SAP API, but they are depricated by sap due to some performance issue.
    Below solution will be helpful:
    So we have implmented custom code in our application. We have developed one webdynpro application which will retrieve update & retrieve logon time from portal database(custom table). And we have integrated this application in desktop inner page. So this application will be invisible to the user and will executed first time when user logs into the portal.
    Regards,
    Charan

  • Hi all, can someone help me in getting last login date of a user in CQ5 please?

    Hi all, can someone help me in getting last login date of a user in CQ5 please?

    CQ is REST based and does not have the concept of session. So there is no feature to track login or logout details.  Most of our customers use some kind of central authentication Ex- SSO hence no need arises to have such functionality built in.  However if needed you have the ability to implement such at a project level solution. Ex:- custom login modules or auth-handler by taking project specific constraints and requirements into account

  • Need to display last login details to the user after they login into portal

    Hi All,
    As per our requirement ,we need to display to the user,the following things:
    1.Last login date and time will be maintained and displayed to the user after login.
    2.Last unsuccessful login date and time will be maintained and displayed to the user after login.
    3.No. of unsuccessful retrials before locking the user will be maintained and displayed to the user after   login.
    Therefore we are creating a webdynpro application wherein we are making use of the UME API and trying to retireve these information.
    The methods i am using are:
    IUserAccount.getLastFailedLogonDate() // To fetch the Last unsuccessful login date and time
    IUserAccount.getFailedLogonAttempts() // No. of unsuccessful retrials
    IUserAccount.getLastSuccessfulLogonDate() // Last login date and time
    But the problem is IUserAccount.getLastSuccessfulLogonDate() is deprecated and i unable to use it,and also i  am unable to get the value *IUserAccount.getFailedLogonAttempts() * I am only geting zero.Can anybody let me know alternative method to get this details.
    Request you to guide me and help me to resolve this issue.
    Thanks and Regards,
    Nishita Salver

    Hi,
    I hope you are trying to show your login date from SharePoint List.
    My suggestion is 
    1. by using ECMA Script ,retrieve values from that list and show the same in Master Page.
    2. If you are not comfortable with ECMA, develop Visual Webpart and add the Visual Webpart in master page by using SharePoint Designer.
    Please let me know ,if you need further guidance.
    Don't forget to mark it as an Answer if it resolves your issue and Vote Me as helpful if it useful.
    Mahesh

Maybe you are looking for

  • Inventory management

    Hi, In Inventory management ...for reports i am using standard queries taken from metadata repository but i am not using the standard cube instead using a custom cube and copied all those queries on to custom cube...since for all figures routines hav

  • Exporting HD footage

    As some of you may know from a previous post, I am currently working on my Senior Capstone film project. My classes have all been FCP based, and I was really getting into risky waters by using Adobe Premiere Pro CS5 for my edit - due to potential com

  • Partner, group editing error

    Welcome to everyone! I am the first BlackBerry user. All well and good for all. Fortnight flay the classic model. My problem is the following. Partner or group of Irish editing error "The partner can name up to 9 characters in length." Have you tried

  • Can you close the account last had created TEST problem I faced in iOS 6 ?

    I have a problem since update Alchgl system iOS 6 in FaceTime & iMessage .I had to create another account to try.I want to close now !

  • Security Evaluation of Oracle Application Server

    Are there any published documents on security evaluation of Oracle Application Server? Is it secure as a tool against some attacks, for example, are following vulnerabilities when applicable to the server dealt with or should be handled by applicatio