Notes Ninjas Notes Ninjas
Lotus Notes hints, tips, error messages
R6 feature: Run on behalf of setting in Agent

Hint Short Cut: Add this to your code & documentation to help you find this page.
http://www.notesninjas.com/#RunOnBehalfOf or http://www.notesninjas.com/A555F9/nn.nsf/ByAlias/RunOnBehalfOf


A new notes 6 feature allows an agent to be set to run on behalf of someone. This is an addition to Run as Web user .





Run on behalf of allows agents to be set to run on someone else's id.

This is obviously useful if certain documents need limited access.

Be careful when using this with agents that take parameters from the Querystring eg:

SuperAgent?openagent&user=Adam&action=delete  : )

 

This option also means that any mail sending will be done from this id.

Though I presume using the Principle field will still allow overruling of the sender .

 

So if your agent is sending email on behalf of someone else in R6 and you don't know why check this new feature. To check or set it, open the agent and then open properties box if not already open, select Agent  and click on the key.

 

In Notes 5 this would have to be done by signing the agent with the relevant id, which could be a pain, or may be using the principal field.

 

NB: Security for this feature requires either Unrestricted or in Notes 6 there is a special agent security group:

"Sign agents to run on behalf of someone else:" in the security tab of the server document.

If you do not have the right access you will get this error message:

HTTP Web Server: Lotus Notes Exception - Error validating user's agent execution access

This can also be used to redirect bounce back messages to another user or mailbox ...

 

 Jump to:     Notes Tips
    Lotus Notes Index 
  Register for Tips
Previous Lotus Notes Tip 
    Next Lotus Notes Tip
Your company logo here?
Adam Foster
Free Cash Making Web Site
Free Revenue Earning Blog Site
 Free Revenue Earning Newsletter Site   
Free Search Pages Free Web stats
Free Contact Us page
Cheap .com domain names
 Need a website or 
   Lotus Notes
  problem solved?
Adam Foster
Web Services Platform Architecture: Soap, WSDL, WS-Policy, WS-Addressing, WS-Bpel, WS-Reliable Messaging and More by Francisco Curbera, Frank Leymann, Tony Storey, Donald Ferguson, Sanjiva Weerawarana
Other books claim to present the complete Web services platform architecture, but this is the first one I've seen that really does. The authors have been intimately involved in the creation of the architecture. Who better to write this book?
See at: Amazon.co.uk | Amazon.com |