OnBehalfOf (NotesAgent - JavaScript)

Read-only. Name of the user under whose identity the agent runs.

Defined in

NotesAgent

Syntax

getOnBehalfOf() : string

Usage

This property reflects the value of "Run on behalf of" under the security tab of the agent builder.

If this property is an empty string, the agent runs on behalf of the owner of the agent or the browser login user (if the agent is run from a browser and "Run as web user" is checked).