MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » March 2014

RE: Update last sign-on date



fixed

Hi Scott,

While you are swapped to the user profile call API QSYCHGPR. It will change the job's current user's last signed on date to the current date.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Tuesday, March 11, 2014 11:56 AM
To: Midrange Systems Technical Discussion
Subject: Update last sign-on date

Hello,

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.

Thanks!
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact