Layer7 Access Management

Expand all | Collapse all

Where can we find last login details of a user?

Jump to Best Answer
  • 1.  Where can we find last login details of a user?

    Posted 01-08-2015 03:45 AM

    Where can we find last login details of a user stored? The user could be a domain user or any an user present in Identity Manager application integrated with SSO.



  • 2.  Re: Where can we find last login details of a user?
    Best Answer

    Posted 01-08-2015 02:09 PM

    It is usually written in the password data as a blob value. You can use DMS api to read or modify the value. It comes as part of SiteMinder SDK.

    An example java code snippet,

    import com.netegrity.sdk.dmsapi.*;

    SmDmsUserPWState pwState = new SmDmsUserPWState();

    user.getUserPWState(pwState);

    System.out.println("Last Login Time"+pwState.getLastLoginTime());



  • 3.  Re: Where can we find last login details of a user?

    Posted 01-12-2015 11:20 AM

    Priyanka

     

    The first question to be answered is whether you folks have atleast the Basic Password Services configured in your environment.

     

    The second question would be, where and when do you need the "Last Login" information for a particular user. If you need this information when the user's is authenticating on a Web Portal protected using SiteMinder, the table in this link should guide you. https://wiki.ca.com/pages/viewpage.action?pageId=80351375

     

    Regards

     

    Hubert



  • 4.  Re: Where can we find last login details of a user?

    Posted 01-14-2015 06:53 AM

    Thanks Dharma and Hubert.



  • 5.  Re: Where can we find last login details of a user?

    Posted 01-14-2015 06:58 AM

    https://support.ca.com/cadocs/0/CA%20SiteMinder%20r12%20SP3-ENU/Bookshelf.html

    Programming Guides › Programming Guide for Java › Delegated Management Services API under User Password State (search for SmDmsUserPWState )