addCertifierToAddressBook (Registration - Java)

Creates a Certifier record in a Domino® Directory based on a certifier ID file and optionally attaches the ID file.

Defined in

Registration

Syntax

public boolean addCertifierToAddressBook(String idfile)
    throws NotesException
public boolean addCertifierToAddressBook(String idfile, String password)
    throws NotesException

public boolean addCertifierToAddressBook(String idfile, String password, String location, String comment)
    throws NotesException

Parameters

String idfile

The certifier ID file to be added to the Domino® Directory; specify the full path, for example, c:\notes\data\cert.id.

String password

The password for the certifier ID file.

String location

A value for the location field in the Certifier record.

String comment

A value for the comment field in the Certifier record.

Return value

boolean

True if the operation is successful; false otherwise.

Usage

Set StoreIDInAddressBook true to attach the ID to the Domino® Directory record.

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.

This method occurs automatically with registerNewCertifier if UpdateAddressBook is true.

Example