CD
Hi,
How can I, via scripting, obtain the user's License key or IP address, like the accounting log?
We want to log our script execution and want to log this to the execution log as well as some users are using the system user for certain tasks, by logging the license key or IP adress we can point to the correct user.
Ciska
Hello Ciska,
one approach to logging script execution can be found here
If you combined the two hints
- you could log timestamp, Database.ActiveUser etc. of a script started,
- then search the ReportRegistry.cfg for the script's GUID
- and get the Windows username and computername of the user who had run the script.
Regards, Martin