Subject: Update "Run on" property of agents using helper agent
Feedback Type: Problem
Product Area: Domino Server
Technical Area: Application Development
I needed to update the "Run on" property of some agents to a new server that we installed. So I created a helper agent to to that by setting the ServerName property in NotesAgent class. I called this agent via web using OpenAgent URL command. It worked but as a side effect it added my name in the "Run on behalf of". Also it reset the "Runtime security level" property to "Do not allow restricted operations".
But why does running from web change the "Run on behalf of" and "Runtime security level"? Also as the OnBehalfOf property in NotesAgent class is read-only I had to manually update the agents. Is there a way to update that programmatically?
Feedback number WEBB8R4N2G created by Naveen Maurya on 02/02/2012