createName (NotesSession - JavaScript)

Creates a new NotesName object.

Defined in

NotesSession

Syntax

createName(name:string) : NotesName

createName(name:string, lang:string) : NotesName

Parameter Description
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.
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 NotesName. See @Locale in the formula language for a list of language codes.
Return value Description
NotesName The new NotesName object.

Usage

See the NotesName class for descriptions and examples.