|
|
|
|
|
NotesOpenConnection (Function) In french: NotesOuvreConnexion Establishes a connection to a Domino server. This session can be closed by CloseSession or EmailCloseSession. Remarks: - To access the emails, contacts, groups of contacts, tasks and/or appointments managed by Lotus Notes, you must specify the Lotus Notes database to use (second syntax of EmailStartNotesSession).
- To access the documents managed by Lotus Notes, you must specify the Lotus Notes database to use (NotesOpenDatabase).
// Open the connection SessionID is int SessionID = NotesOpenConnection("Password", "MarsServer", ... "C:\Users\Julia\AppData\Local\Lotus\Notes\Data\user.id") // Specify the Lotus Notes database to use IF NotesOpenDatabase(SessionID, "email/julia.nsf") <> 0 THEN Info("Session started and database specified") ELSE Error(ErrorInfo()) END
Syntax
<Result> = NotesOpenConnection(<Password> , <Domino server> [, <Certificate path>])
<Result>: Integer - Session identifier.
- 0 if an error occurs (or False). To get more details on the error, use ErrorInfo with the errMessage constant.
<Password>: Character string or Secret string User password. This password is given by the service provider or by the network administrator.
New in version 2025Secret strings: If you use the secret string vault, the type of secret string used for this parameter must be "Ansi or Unicode string". To learn more about secret strings and how to use the vault, see Secret string vault. <Domino server>: Character string - Name of Domino server,
- Empty string ("") if the database is a local database.
<Certificate path>: Optional character string Path of the certificate used to identify the user (ID file). This file is given by the administrator of the Domino server. This file is required to establish the connection to the server. If this parameter is not specified, the path of the certificate will be read in the configuration file of the Lotus Notes client ("Notes.INI" file). The certificate used will correspond to the last certificate of the user of the Lotus Notes client for the current computer. Remarks The access to Lotus Notes is available for Lotus Notes version 6.5 or later.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|