Function EN Version 5.00

@NotesIDFileGetInfo

NotesAdmin

Syntax

@NotesIDFileGetInfo(OSPATH1;FNINFOFLAG2);

Description

This @Funktion returns various information about the Notes ID file with the OSPATH OSPATH1.
If the ID file is password-protected, @NotesIDFileGetInfo should not be used.
In that case, the password is requested on the server console.
(The task will then hang!)

Return value:
On success, the corresponding information is returned (data type: see table); otherwise @ERROR.

FN FNINFOFLAG2:
DEC   ReturnDataType   Bedeutung
01      NUMBER      USAFlag      The ID file is a USA Notes ID (=1) or an international Notes ID (=0)
02      NUMBER      HierarchicalFlag   The ID file is a hierarchical Notes ID (=1) or a non-hierarchical Notes ID (=0)
03      NUMBER      SafeFlag      The ID file is a safecopy Notes ID (=1), otherwise (=0)
04      NUMBER      CertifierFlag   The ID file is a certifier Notes ID (=1), otherwise (=0)
05      NUMBER      NotesExpressFlag   The ID file is a NotesExpress Notes ID (=1), otherwise (=0)
06      NUMBER      DesktopFlag      The ID file is a desktop Notes ID (=1), otherwise (=0)
07      TEXT         name         Returns the name of the Notes ID
08      RT         PublicKey      Returns the public key of the Notes ID
09      RT         PrivateKey      Returns the private key of the Notes ID
10      RT         IntlPublicKey   Returns the international public key of the Notes ID
11      RT         IntlPrivateKey   Returns the international private key of the Notes ID

Example: @NotesIDFileGetInfo(OSPATH1;FNINFOFLAG2);

Name:=@NotesIDFileGetInfo("C:\\NOTES\\DATA\\SERVER.ID";7);

The variable name contains the name (on success) FNINFOFLAG2=7) of the Notes ID with the OSPATH "C:\\NOTES\\DATA\\SERVER.ID" is assigned.

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