Initialize (NotesSession - LotusScript®)

Initializes a COM session with the current user ID.

Note: This method is new with Release 5.0.2b.
Note: This method is supported in COM only.

Defined in

NotesSession

Syntax

Call notesSession .Initialize( [ password$ ] )

Parameters

password$

String. Optional. The password must match the user ID password. If you do not specify a password, you will be prompted for a password as required and as the software permits. If the software does not support prompting (for example, VBScript under ASP/IIS), you must supply the password or the user ID must not have one.

Usage

This method can be used on a computer with a Notes® Client or Domino® Server.

This method assumes that you trust the local Domino® or Notes® installation.

Access to the Domino® Objects is as a client if the user ID is not specified as a server in the local Domino® Directory or Notes® Directory. Otherwise, access is as a server. As a client, you can access any server that accepts your user ID. As a server, you can access only the local server.

Example