Skip to Content
0
Former Member
Nov 23, 2005 at 11:43 AM

Last login date & Time

28 Views

Hi, how to display last login date&time of a WD application?

I use this code:

IWDClientUser wdUser = WDClientUser.getCurrentUser();

IUser user = wdUser.getSAPUser();

IUserAccount[] IUA = user.getUserAccounts();

Date lastLogin = IUA[0].getLastSuccessfulLogonDate();

but it returns date and time of the current login.

Any idea?

Andrea