@NotesIDFileNewServer
Syntax
@NotesIDFileNewServer(RetCTXHandle;IDTYPE;RegServer;OrgUnit;EntryName;Password;
IDFileName;Location;Comment;DomainName;NetworkName;
AdminName;ServerTitle;FLAGS;MinPasswordLen;ErrorText);
Description
Creates a new Notes server ID.
Optionally, an entry can also be created in the Name and Address Book.
The process is controlled primarily by FN IDTYPE and FN FLAGS.
All other parameters are largely optional TEXT parameters and can be specified as "".
Exceptions are RetCTXHandle and FN MinPasswordLen.
FN IDTYPE
KFM_IDFILE_TYPE_FLAT 0 /* Flat name space (V2 compatible) */
KFM_IDFILE_TYPE_STD 1 /* Standard (user/server hierarchical) */
KFM_IDFILE_TYPE_DERIVED 4 /* Derived from certifer context. */
FN FLAGS
fREGCreateIDFileNow 0x0001 /* set to create the ID-file */
fREGUSARequested 0x0002 /* set if an US or Canadian ID should be created */
fREGCreateMailFileNow 0x0004 /* set if the mail file should be created */
fREGCreateAddrBookEntry 0x0008 /* set if N&A entry should be created or modified */
fREGOkayToModifyID 0x0010 /* set to overwrite existing ID-file */
fREGOkayToModifyAddrbook 0x0020 /* set to modify existing N&A entry */
fREGSaveIDInFile 0x0040 /* set to create an ID-file on the harddisc */
fREGCreateLimitedClient 0x0080 /* set to create a Lotus Mail user */
fREGCreateDesktopClient 0x0100 /* set to create a Lotus Notes Desktop user */
fREGSaveIDInAddrBook 0x0200 /* set to attach the ID to the N&A entry */
fREGCreateMailFileUsingAdminp 0x0800 /* set to use admin process to create mail-DB */
fREGCommonPW 0x1000 /* set to use with NT User Manager extension dll */
TEXT ERRORTEXT (Rückgabewert)
Path name of the file for which an error occurred during access.
@Return-Wert:
If the @Function was executed successfully, 1 is returned; otherwise @ERROR.
Example:
RetECPW:=@NotesIDFileEncodePassword("Cert");
ExpTD1:=[10.10.2010 10:10:10];
CertifierPath:="D:\\TMP\\IDFILES\\Cert.ID";
RetCTXHandle:=@NotesIDFileOpenCertifierCtx(CertifierPath;RetECPW;"WU-ENT-BER-50/WHATSUP/DE";ExpTD1;RETTEXT5;RETNUMBERHIERAR6;RETNUMBERFILEV7);
IDType:=4;
RegServer:="";
OrgUnit:="";
EntryName:="NewServerName";
Password:="NewPassword";/*Password for neue ID*/
IDFileName:="D:\\TMP\\IDFILES\\Server.ID";
Location:="";
Comment:="";
DomainName:="";
NetworkName:="";
AdminName:="";
ServerTitle:="";
Flags:=121;
MinPasswordLen:=0;
RetBool:=@NotesIDFileNewServer(RetCTXHandle;IDType
@LogReport(RetBool);
@LogReport(ErrorText);
RetCTXHandle:=@NotesIDFileCloseCertifierCtx(RetCTXHandle);
Note : This text was machine-translated and may contain inaccuracies.
