KB-39044: Recording the name of the user logged into the application in a text file.

Question:

How can I record the name of the user logged into an Elipse SCADA application in a text file (*.txt)?

Solution:

To do so, just write the application’s userName attribute, via WriteToFile function, in the desired text file.

Example of script:
 
WriteToFile(“file.txt”, Application.userName + Chr(13) + Chr(10))

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

,

Deixe seu Comentário

Seu endereço de e-mail não será publicado. Campos marcados com asterisco são obrigatórios *