create new tag
view all tags

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.


       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


Topic revision: r1 - 2015-03-18 - JeffPrentice
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback