LOTUSSCRIPT/COM/OLE CLASSES


UserName property
Example

Read-only. The current user's name.


Defined in

NotesSession

Data type

String

Syntax

To get: name$ = notesSession.UserName

Usage

If the user name is hierarchical, this property returns the fully distinguished name. To get only the common name, use the CommonUserName property in NotesSession. To get only the common name of the owner of a script that runs on a server, use the CommonOwner property in NotesAgent.

Language cross-reference

UserName property in Java Session class

@UserName function in formula language

@V3UserName function in formula language

Example
See Also