Switch to desktop version  
Current User Field on ViewOn WebPage - Printable Version

+- Ewon Technical Forum (https://techforum.ewon.biz)
+-- Forum: Development (https://techforum.ewon.biz/forum-50.html)
+--- Forum: Custom Web Pages/viewON/Talk2M Visualization (https://techforum.ewon.biz/forum-55.html)
+--- Thread: Current User Field on ViewOn WebPage (/thread-367.html)



Current User Field on ViewOn WebPage - HAL9000 - 28-07-2017

Hi all,

Is there a simple way I can show which "user" is currently logged into my eWON flexy and show thisĀ on the ViewON generated webpage?

Best regards,

Justin


RE: Current User Field on ViewOn WebPage - simon - 18-12-2017

Hi,

Sorry to respond so late... Have you solved your issue ?
Check that : https://techforum.ewon.biz/thread-200.html

Regards


RE: Current User Field on ViewOn WebPage - jswenker - 15-07-2019

Hi Simon,

Is it possible to put the userlogin or username which is looged at the moment in a logfile?
See sample hereunder:

LogFile_Thermador:
F$ = "file:/usr/Thermador.csv"
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";"ACT_PRG_NR_Z1";"WNS_TEMP_BR_1";"ACT_TEMP_BR_1"
ENDIF
PUT 1,Time$;ACT_PRG_NR_Z1@;WNS_TEMP_BR_1@;ACT_TEMP_BR_1@
Close 1
REM Return
END