Examples: UserNameObject property (NotesSession - LotusScript®)

This Visual Basic code displays the current user's common name.

Private Sub UserNameObject_Click()
Dim s As New NotesSession
s.Initialize
MsgBox s.UserNameObject.Common, , "Common user name"
End Sub