PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Establishes a connection to a Domino server. This session can be closed by CloseSession or EmailCloseSession.
Notes:
  • 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).
Example
// 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 know the error details, use ErrorInfo associated with the constant errMessage.
<Password>: Character string
User password. This password is given by the service provider or by the network administrator.
<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.
Component : wd250com.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment