I found an old post here that explains how to track user:
However, the problem is I dont have new version and this code is not working. Any idea? I am using 7.6.10
-*-- Print a report of the last time a User logged in to WF Dashboard ----------
-*-- (Based on platform independent method of listing files in a directory)
-*-- By Francis Mariani - 2007/04/05
-SET &ECHO=ALL;
-SET &DATADIR = 'D:\ibi\WebFOCUS53\worp\log';
APP MAP TEMPAPP1 &DATADIR
-RUN
APP QUERY TEMPAPP1 HOLD
-RUN
?FF FOCAPPQ
-RUN
DEFINE FILE FOCAPPQ
USER_ID/A24 = GETTOK(FILENAME, 256, 1, '_', 24, 'A24');
LOGIN_DT/A8YYMD = GETTOK(FILENAME, 256, 2, '_', 8, 'A8');
LOGIN_TM1/A6 = GETTOK(FILENAME, 256, 3, '_', 6, 'A6');
LOGIN_TM/A8 = EDIT(LOGIN_TM1,'99:99:99');
END
-RUN
TABLE FILE FOCAPPQ
SUM
LOGIN_TM
BY USER_ID
BY HIGHEST 1 LOGIN_DT
WHERE RECORDLIMIT EQ 5000
END
-RUN
WebFOCUS 7.6.10
Windows
HTML