CreateName (NotesSession - LotusScript®)

Creates a new NotesName object. When used with OLE automation, this method allows you to create a NotesName object without using the New method of NotesName.

Defined in

NotesSession

Syntax

Set notesName = notesSession .CreateName( name$ [, language$ ] )

Parameters

name$

String. 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.

language$

String. Optional. The language code associated with a user name.

Return value

notesName

The newly created name.

Example