UserName (NotesSession - LotusScript®)
Read-only. The current user's name.
- For a script running on a workstation, this is the name of the current user.
- For a script running on a server, this is the name of the server.
Defined in
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.