Log Actual logged in user

Is it possible to put the actual user which is logged in to show in a report?
See the basic file what i used:

ONCHANGE “L2_MLD1_RESET_MAINDRIVE”, “goto LogFile”

LogFile:
F$ = “file:/usr/Uren_Reset.csv”
CurrentUser$ = GETSYS USER,"Login"
SETSYS PRG,“RESUMENEXT”,1
CLOSE 1
OPEN F$ FOR BINARY INPUT AS 1
ErrorReturned = GETSYS PRG,“LSTERR”
SETSYS PRG,“RESUMENEXT”,0
CLOSE 1
Open F$ For Text Append As 1
IF ErrorReturned =33 THEN
PUT 1,“DATUM_TIJD”;“Gebruiker”;“Actuele Uren”
ENDIF
PUT 1,Time$;CurrentUser$;L2_MLD1_ACT_MAINDRIVE@
Close 1
REM Return
END

Hello,

Are you trying to track user log ins into the flexy? Or the log ins through eCatcher? Are there people logging in locally through eBuddy?

You can track user log in in eCatcher. Within eCatcher, you can select the device, and select the “Logs” button to show connection activity.

image

Hi Kevin,
Thanks for your responce. What the funcxion is: We are logging operator hours from some maindrives, after 1500 hours there must be made a maintenance on the drive. The engineer has to reset the hours over the command edit tag. When he do this he has to login in in the ewon to have access to reset the hour counter. For me is important who reset this, so who was login on that moment. The ewon will sent a report with the reset commands with the actual users. That’s what i need.

Topic closed due to inactivity.