User Last Login Date/Time Utility
With the Role Base Security feature enabled you can programmatically determine a user’s last login date and time with the GETATTRS command. If Role Based Security is disabled this command may be entered in ILF however USERX LAST LOGIN will be blank.
Example
SET 0SA USER ID = --- USER ID
READ 0SA USER HOLD 0 FT 0 BY USER ID
GETATTRS 0SA USERX = 0SA USER
IF 0SA USERX LAST LOGIN EQ
T (Error)
--
Jeff Prentice - 2015-03-18
Comments