EffectiveUserName (NotesSession - JavaScript)

Read-only. The login name of the user that created the session.

Defined in

NotesSession

Syntax

getEffectiveUserName() : string

Usage

This is the name of the user logged into the server session running the script.

Examples

This computed field displays the effective user name for the current session.
return "You are logged in effectively as " + session.getEffectiveUserName()