A service reservation instance object is created locally and the goal is to store it on the server (with the help of automation), retaining the name of the user ("CreatedBy" property) that initiated the creation of the object.
How can this be achieved ?
Hey Ciprian,
When you setup the helper of the API (ResourceManagerHelper in your case), make sure you use the following calls to handle the message request: "engine.SendSLNetMessages" and not "Engine.SLNetRaw.HandleMessages"
For an example with the JobManagerHelper:
You should setup the helper with: (this will cause all the history changes to be correctly under the user that is currently executing the interactive script)
Var helper = new JobManagerHelper(_engine.SendSLNetMessages);
And NOT with (this will cause all history changes of the jobs to be under user “Administrator”)
Var helper = new JobManagerHelper(Engine.SLNetRaw.HandleMessages);