kpmcdonakpmcdon
7 years agoQrew Trainee
curuser marker in webhook using API_ImportFromCSV
I have a webhook using API_ImportFromCSV that populates fields in an audit log table triggered by the deletion of one or more records in the main table. It works great, except for one problem. I am trying to capture the name of the user that deleted the records. When using a field I can add the '.csv' suffix to properly format the data. I don't know how to do this with a marker, like curuser. Thus, I get the user's name followed by the extra characters I would get with a field were I had forgotten to add the '.csv' suffix.
What is the proper way to grab the name of the user that performed the delete?
What is the proper way to grab the name of the user that performed the delete?