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.
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,
SmDmsUserPWState pwState = new SmDmsUserPWState();
System.out.println("Last Login Time"+pwState.getLastLoginTime());
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
Thanks Dharma and Hubert.
Programming Guides › Programming Guide for Java › Delegated Management Services API under User Password State (search for SmDmsUserPWState )