RE: [development-axapta] Date/Time of last login

2005-02-02 Thread Daniel Redelinghuys
@yahoogroups.com Subject: RE: [development-axapta] Date/Time of last login SysUserLog is what you want: select firstonly * from SysUserLog order by createdDate desc, createdTime desc where (SysUserLog.UserId == "MY_ID") && (SysUserLog.Type == SysLogType::login) You can check th

Re: [development-axapta] Date/Time of last login

2005-02-02 Thread wb
Hello Daniel static void ew_lastLogin(Args _args) {     SysUserLog userLog;     ;     select userLog     order by logoutDate desc, logoutTime desc     where userLog.UserId == curUserId()    && userLog.TerminatedOk == true;     info(strfmt('%1 %2', userLog.createdDate, time2st

RE: [development-axapta] Date/Time of last login

2005-02-02 Thread Matt Benic
EMAIL PROTECTED] Sent: 02 February 2005 12:14 PM To: development-axapta@yahoogroups.com Subject: [development-axapta] Date/Time of last login Hi all, How will I retrieve the Date/ Time of last login of a user. I query the table.UserGroupList for the GroupId and table.UserInfo for the Id and Nam

[development-axapta] Date/Time of last login

2005-02-02 Thread Daniel Redelinghuys
Hi all, How will I retrieve the Date/ Time of last login of a user. I query the table.UserGroupList for the GroupId and table.UserInfo for the Id and Name, but also need the Date/ Time of last login for the users? Thanx Daniel J. Redelinghuys Axapta Developer  UTi-Sun Couriers Division T