createName (Session - Java)

Creates a new Name object.

Defined in

Session

Syntax

public Name createName(String name)
    throws NotesException
public Name createName(String name, String lang)
    throws NotesException

Parameters

String name

A user or server name. If the name is not in the format of an abbreviated or canonical hierarchical name, it is treated as a flat name.

String lang

A language associated with the user name. For primary user names, the language should be null. For alternate user names, a language can be specified. See the Language property in Name. See @Locale in the formula language for a list of language codes.

Return value


Name

The new Name object.

Usage

See the Name class for descriptions and examples.