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

by Martin Schröder
Badge for 'Contributor' achievement
Posted on Fri, 07/22/2011 - 17:41

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

0

Featured achievement

Question Solver
Share your expertise and have your answer accepted as best reply.
Recent Unlocks
  • CR
  • BH
  • Profile picture for user Ivan.Ivanov.softwareag.com
  • Profile picture for user mscheid
  • MS
  • PacMan

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock