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) 

-- %USERSIG{JeffPrentice - 2015-03-18}%

Comments

 

This topic: APPX > APPX520Features > 520RoleBasedSecurity > LastLogin
Topic revision: 18 Mar 2015, JeffPrentice
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback