CommonUserName (Session - Java™) Read-only. The common name of the user that created the session. Defined in Session Data type String Syntax public String getCommonUserName() throws NotesException Usage If the user name is flat (non-hierarchical), CommonUserName is the same as UserName. Example