Question:
How can I record the current logged user’s name in the Historic?
Solution:
To do so, in the login’s script, you must set it to save the user’s name on an Internal Tag, which will send this information to be recorded in the Historic.
Example:
If Application.Login(True) Then
Application.GetObject(“Data.InternalTag”).Value = Application.User ‘Sends the name of the user to the Internal Tag to be saved in the Historic.
End If