|
On 11-Mar-2014 11:55 -0700, Scott Klement wrote:
I have a network server application where users sign on. The
application uses QSYGETPH & friends to validate the userid/password
and run under the users authority. This all works great.
Recently, we've had a need to also update the user's last "sign-on"
date when they sign on. Although QSYGETPH updates the profile's
last-used date, and resets the invalid sign-ons to 0, it does not
update the last sign-on date.
Does anyone know if there's a way, programmatically, to update the
last sign-on date for a user profile?
Various utilities rely on this last sign-on date -- and with users
signing on to the network server instead of 5250, it is causing
problems that it does not update the sign-on date.
<http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/topic/apis/QSYCHGPR.htm>
_Change Previous Sign-On Date (QSYCHGPR) API_
"...
The Change Previous Sign-On Date (QSYCHGPR) API changes the previous
sign-on date and time to the current date and time for the user profile
that is currently running. If a user has been swapped in using the Set
Profile (QWTSETP) API, that user's previous sign-on date and time is the
one that gets changed.
..."
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.