UserNameObject (NotesSession - JavaScript™)
Read-only. The name, in the form of a NotesName object, of the user or server that created the session.
Defined in
NotesSessionSyntax
getUserNameObject() : NotesName
Examples
This computed field displays the common user name for the current session.return session.getUserNameObject().getCommon()