Daniel J. Redelinghuys
Axapta Developer UTi-Sun Couriers Division
Tel: +27 12 673 2324 Fax: +27 12 673 2344
-----Original Message-----
From: Matt Benic [mailto:[EMAIL PROTECTED]
Sent: 02 February 2005 12:43 PM
To: development-axapta@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 the createdDate/time for the actual login time.
Regards,
Matt Benic
Axapta Developer
UTi Sun Couriers Division
"The universal aptitude for ineptitude
makes any human accomplishment an incredible miracle."
- Col. John P. Stapp
www.smallfrymobile.com <http://www.smallfrymobile.com>
-----Original Message-----
From: Daniel Redelinghuys [mailto:[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 Name,
but also need the Date/ Time of last login for the users?
Thanx
Daniel J. Redelinghuys
Axapta Developer UTi-Sun Couriers Division
Tel: +27 12 673 2324 Fax: +27 12 673 2344
[Non-text portions of this message have been removed]
Yahoo! Groups Links
Yahoo! Groups Links
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.