Hi all,
Is it possible to retrieve the Guid for the user triggering an automation script?
This script is going to be launched from the context menu of an Alarm if that helps.
Thanks in advance.
Tiago Bento [SLC] Selected answer as best 17th November 2021
Hi Tiago,
The Engine class has a method called GetUserConnection(), which stores connection info.
This includes the Connection ID and the user name.
Help link: https://help.dataminer.services/dataminer/#t=DataMinerUserGuide%2Fpart_7%2FCsharpReference%2FEngine_methods.htm
Hope this helps you further
Tiago Bento [SLC] Selected answer as best 17th November 2021