registerNewCertifier (Registration - Java)

Creates a certifier ID and optionally adds it to a Domino® Directory.

Defined in

Registration

Syntax

public boolean registerNewCertifier(String org, String idfile, String certpw)
    throws NotesException
public boolean registerNewCertifier(String org, String idfile, String certpw, String country)
    throws NotesException

Parameters

String org

The organization to which the new certifier ID belongs.

String idfile

The ID file to be created; specify the full path, for example, c:\notes\data\cert.id.

String certpw

A password for the certifier ID file.

String country

A value for the country field in the Domino® Directory record.

Return value

boolean

True if the operation is successful; false otherwise.

Usage

Before calling this method, set CertifierIDFile, Expiration, IDType, and MinPasswordLength. Expiration defaults to 100 years from now for organizations and organizational units, and cannot be changed for organizations.

Note: The expiration default is new with Release 6.0.3.

Set UpdateAddressBook true to add a Certifier record to the Domino® Directory. Set StoreIDInAddressBook true to attach the ID to the Domino® Directory record. These operations can be performed separately with addCertifierToAddressBook.

Set OrgUnit to add an organizational unit to the ID name.

Optionally set IsNorthAmerican and RegistrationLog.

This method acts on the Domino® Directory (names.nsf) for the server specified by RegistrationServer, or names.nsf in the local Domino® data directory if this property is not set.

Example