LOTUSSCRIPT/COM/OLE CLASSES


CommonUserName property
Example

Read-only. The common name portion of the current user's name.

Defined in

NotesSession

Data type

String

Syntax

To get: commonName$ = notesSession.CommonUserName

Usage

When a script runs on the workstation, the user is the person running Notes. When a script runs on the server, the user is the server. For agents that run on a server, therefore, this property returns the common name of the server.

If the user's name is flat (non-hierarchical), the CommonUserName is the same as the UserName.

Language cross-reference

CommonUserName property in Java Session class

Example
See Also