LOTUSSCRIPT/COM/OLE CLASSES


EffectiveUserName property
Example

Read-only. The user name that is in effect for the current program.

For a program running on:


Defined in

NotesSession

Data type

String

Syntax

To get: name$ = notesSession.EffectiveUserName

Usage

The identity of the person under whose identity the program is running depends on whether you are running an agent, an XPage, a servlet, or a stand alone program.

For an agent, selecting 'run as web user' will make this property use the identity of the logged in web user. If 'run as web user' is not selected, this property will use the identity of the agent signer.

For everything else the identity is the identity established by the Session or automatically assigned by the environment.

This property returns the fully distinguished name.

Language cross-reference

EffectiveUserName property in Java AgentContext class

EffectiveUserName property in Java Session class

Example
See Also