UserNameList (Session - Java)

Read-only. The name of the user or server that created the session, and the alternate name if it exists.

Defined in

Session

Data type

java.util.Vector; elements are Name

Syntax

public java.util.Vector getUserNameList()
    throws NotesException

Usage

If the user does not have an alternate name, getUserNameList returns a vector of one element containing the user name. If the user does have an alternate name, getUserNameList returns a vector of two elements containing the user name and the alternate user name.

Example