REST API Script - how to determine the authenticated user's username within 1IM Script?

Would like to know API authenticated user account calling script function so that we can log which account is calling what API script with what parameters, and may be provide finer access control to the script functionality.

Right now, I see just one line in inetpub/..App_Data/Logs which shows the username that got authenticated, but how do I capture this information within the script being called?

Parents Reply Children
No Data