Lotus Notes FAQ Visit Our Sponsor!


How do you get the current user name in LotusScript?

You can use this to get the current web user's Domino user name:

  Dim session As New NotesSession
  Dim username As String
  username = session.EffectiveUserName

You do have to have the 'Run Agent As Web User' agent property checked for this to work.


Applies to Notes Versions: 5
Last Modified: June 20, 2001
Home

*
Notes R3 *Notes R4 *Notes/Domino 4.5 *Notes/Domino 4.6 *Notes/Domino R5

*Notes/Domino 6 *Notes/Domino 6.5 *Notes/Domino 7 *Notes/Domino 8 *Notes/Domino 8.5