Sub Initialize Dim session As New NotesSession Dim user As String user = session.Username Print user End Sub