JAVA/CORBA クラス
ユーザー ID を作成します。また、作成したユーザー ID を Domino ディレクトリに追加できます。
定義位置
Registration
構文
public boolean registerNewUser(String lastn, String idfile, String server) throws NotesException
public boolean registerNewUser(String lastn, String idfile, String server, String firstn, String middle, String certpw) throws NotesException
public boolean registerNewUser(String lastn, String idfile, String server, String firstn, String middle, String certpw, String location, String comment, String maildbpath, String forward, String userpw) throws NotesException
public boolean registerNewUser(String lastn, String idfile, String server, String firstn, String middle, String certpw, String location, String comment, String maildbpath, String forward, String userpw, String altname, String altnamelang) throws NotesException
パラメータ
String lastn
boolean 型
このメソッドを呼び出す前に、CertifierIDFile、Expiration (デフォルトは現在から 2 年後)、IDType、および MinPasswordLength を設定します。
メモ Expiration のデフォルトは Release 6.0.3 で新しく追加されました。
UpdateAddressBook を true に設定すると、ユーザー文書が Domino ディレクトリに追加されます。StoreIDInAddressBook を true に設定すると、ID が Domino ディレクトリの文書に追加されます。これらの操作は、addUserToAddressBook を使用すると、それぞれ個別に実行できます。
CreateMailDb を true に設定すると、登録時にメールファイルが作成されます。
ID 名に組織単位を追加するには、OrgUnit を設定します。AltOrgUnit と AltOrgUnitLang の設定もできます。
IsNorthAmerican と RegistrationLog の設定もできます。
このメソッドは、RegistrationServer で指定されたサーバーの Domino ディレクトリ (names.nsf) 上で実行されるか、またはこのプロパティが設定されていない場合は、ローカルの Domino データディレクトリ (names.nsf) 上で直接実行されます。
クロスリファレンス
LotusScript NotesRegistration クラスの RegisterNewUser メソッド
式言語の AdminRegisterUser @コマンド
例