Function EN Version 4.50

@NotesIDFileOpenCertifierCtx

NotesAdmin

Syntax

@NotesIDFileOpenCertifierCtx(OSPATH1;VSPECENCPASSWORD2;NOTESPATH3;TD4;RETTEXT5;RETNUMBERHIERAR6;RETNUMBERFILEV7);

Description

This @Funktion öffnet the Cdertifier Context (Certifier Notes ID) with the OSPATH OSPATH1.
In parameter VSPECENCPASSWORD VSPECENCPASSWORD2 the encoded password must (see @NotesIDFileEncodePassword) be passed, if the Notes ID is not password-protected an empty password must ("") be encoded.
In parameter NOTESPATH NOTESPATH3 the NOTESPATH of the Notes certifier log (usually CERTLOG.NSF) be specified.
A NULLSTRING ("") can also be passed here; in that case the following certification actions are not logged.

In parameter TD TD4 the validity expiration date of the certifier Notes ID is passed.
In parameter TEXT RETTEXT5 is the name of the certifier Notes ID is returned.
In parameter NUMBER RETNUMBERHIERAR6 is the TRUE returned, falls es sich um a hierarchische Certifier Notes ID handelt, anderfalls FALSE.
In parameter NUMBER RETNUMBERFILEV7 is the file version of the certifier Notes ID is returned.

Return value:
On success, a VSPECCERTIFIERCTXHANDLE is returned; otherwise @ERROR.

Example: @NotesIDFileOpenCertifierCtx(OSPATH1;VSPECENCPASSWORD2;OSPATH3;RETTD4;RETTEXT5;RETNUMBERHIERAR6;RETNUMBERFILEV7);

RetECPW:=@NotesIDFileEncodePassword("PASSWORD");
ExpTD1:=[10.10.1999 10:10:10];
CertifierPath:="C:\\NOTES\\DATA\\CERT.ID";
RetCTXHandle:=@NotesIDFileOpenCertifierCtx(CertifierPath;RetECPW;"CERTLOG.NSF";RetExpTD1;RETTEXT5;RETNUMBERHIERAR6;RETNUMBERFILEV7);
RetCTXHandle:=@NotesIDFileCloseCertifierCtx(RetCTXHandle);

The certifier Notes ID with the file path "C:\\NOTES\\DATA\\CERT.ID" and the password "PASSWORD" is opened, and then closed again.
In the database "CERTLOG.NSF" the certification operations are logged.

Note : This text was machine-translated and may contain inaccuracies.