PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
  • Identifier of the session.
  • 0 if an error occurs (or False). To find out the error details, use ErrorInfo associated with the errMessage constant.
<Password>: Character string
Password of the user. This password is given by the service provider or by the network administrator.
<Domino Server>: Character string
  • Name of the 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.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Minimum required version
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment