registerNewCertifier (Registration - Java™)

認証者 ID を作成し、オプションでそれを Domino ディレクトリに追加します。

定義位置

Registration

構文

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

パラメータ

String org

新しい認証者 ID が所属する組織です。

String idfile

作成される ID ファイル。絶対パスを指定します (例えば、c:¥notes¥data¥cert.id)。

String certpw

認証者 ID ファイルのパスワードです。

String country

Domino ディレクトリレコードの国フィールドの値。

戻り値

boolean 型

操作が正常に終了した場合は true、それ以外の場合は false を返します。

使用法

このメソッドを呼び出す前に、CertifierIDFileExpirationIDTypeMinPasswordLength を設定します。Expiration のデフォルトは、組織と組織単位の場合は現在から 100 年ですが、組織の場合は変更できません。

注: Expiration のデフォルトは Release 6.0.3 で新しく追加されました。

Domino ディレクトリに認証者レコードを追加するには、UpdateAddressBook を true に設定します。ID を Domino ディレクトリレコードに添付する場合は、StoreIDInAddressBook を true に設定します。これらの操作は、addCertifierToAddressBook を使用すると、それぞれ個別に実行できます。

ID 名に組織単位を追加するには OrgUnit を設定します。

オプションで IsNorthAmericanRegistrationLog を設定します。

このメソッドは、RegistrationServer によって指定されたサーバーの Domino ディレクトリ (names.nsf)、あるいは、このプロパティが設定されていない場合は、ローカル Domino データディレクトリ内の names.nsf に対して実行されます。

クロスリファレンス

LotusScript® NotesRegistration クラスの RegisterNewCertifier メソッド

式言語の UserIDSetPassword @コマンド

式言語の AdminNewOrganization @コマンド

式言語の AdminCertify @コマンド