JAVA/CORBA CLASSES


EffectiveUserName property
Example

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


Defined in

AgentContext

Data type

Name

Syntax

public String getEffectiveUserName()
   throws NotesException

Usage

In general, getEffectiveUserName and getUserName return the same value for a given program. The exceptions are agents that run on a server, where getEffectiveUserName is the name of the script's owner and getUserName is the name of the server on which the script is running.

If the user name is hierarchical, this property returns the fully distinguished name.

Language cross-reference

EffectiveUserName property in LotusScript NotesSession class

Example
See Also