Examples: EffectiveUserName property (NotesSession - LotusScript)

This script gets the current effective user name.

  • If this script runs on a server, and if Mutsumi Nakamura last edited and saved the script, the EffectiveUserName property returns "Mutsumi Nakamura."
  • If this script runs on a workstation, the EffectiveUserName property returns the name of the current user.
' created 1 Jan 1996 by M. Nakamura
' revisions 2 Feb 1996 by M. Nakamura
Dim session As New NotesSession
Dim creator As String
creator = session.EffectiveUserName