AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones Lotus Notes / Funciones Notes
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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).
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 get more details on the error, use ErrorInfo with the errMessage constant.
<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: wd290com.dll
Versión mínima requerida
  • Versión 11
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local