@NotesIDFileNewCertifier
Syntax
@NotesIDFileNewCertifier(RetCTXHandle;IDTYPE;RegServer;Country;Organization;OrganizationUnit;Password;
IDFileName;Location;Comment;MailServerName;MailFileName;ForwardAddress;
FLAGS;FNKeyWidth;MinPasswordLen;ErrorText);
Description
Creates a new Notes certifier ID.
Optionally, an entry can also be created in the Name and Address Book, and a mail file can be created for the new user.
The process is controlled primarily by FN IDTYPE and FN FLAGS.
All other parameters are largely optional TEXT parameters and can be specified as "".
An exception is FN MinPasswordLen.
FN IDTYPE
KFM_IDFILE_TYPE_ORG 2 /* Organization certifier */
Organization must be specified; RetCTXHandle and OrganizationUnit must be "" (NULLSTRINGNULLSTRING) must be used.
FN FNKeyWidth
0 must be specified here.
FN FLAGS
fREGCommonPW 0x1000 /* set to use with NT User Manager extension dll */
TEXT ERRORTEXT (Return-value)
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 for IDType=KFM_IDFILE_TYPE_ORG:
RetCTXHandle:="";
IDType:=2;
RegServer:="";
Country:="DE";
Organization:="TestOrg";
OrganizationUnit:="";
Password:="Cert";/*Password for neue ID*/
IDFileName:="D:\\TMP\\IDFILES\\Cert.ID";
Location:="";
Comment:="";
MailServername:="";
MailFileName:="";
ForwardAddress:="";
Flags:=121;
FNKeyWidth:=0;
MinPasswordLen:=0;
RetBool:=@NotesIDFileNewCertifier(RetCTXHandle;IDType;RegServer;Country;Organization;OrganizationUnit;
Flags;FNKeyWidth;MinPasswordLen;ErrorText);
@LogReport(RetBool);
@LogReport(ErrorText);
Example for IDType=KFM_IDFILE_TYPE_ORGUNIT:
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:=3;
RegServer:="";
Country:="";
Organization:="";
OrganizationUnit:="TestUnit";
Password:="Unit";/*Password for neue ID*/
IDFileName:="D:\\TMP\\IDFILES\\Unit.ID";
Location:="";
Comment:="";
MailServername:="";
MailFileName:="";
ForwardAddress:="";
Flags:=121;
FNKeyWidth:=0;
MinPasswordLen:=0;
RetBool:=@NotesIDFileNewCertifier(RetCTXHandle;IDType;RegServer;Country;Organization;OrganizationUnit;
Flags;FNKeyWidth;MinPasswordLen;ErrorText);
@LogReport(RetBool);
@LogReport(ErrorText);
RetCTXHandle:=@NotesIDFileCloseCertifierCtx(RetCTXHandle);
Note : This text was machine-translated and may contain inaccuracies.
