JAVA/CORBA クラス


addServerToAddressBook メソッド

サーバー ID ファイルに基づいて Domino ディレクトリ内にサーバー文書を作成します。また、ID ファイルの添付もできます。

定義位置

NotesRegistration

構文

public boolean addServerToAddressBook(String idfile, String server, String domain)
   throws NotesException

public boolean addServerToAddressBook(String idfile, String server, String domain, String userpw)
   throws NotesException

public boolean addServerToAddressBook(String idfile, String server, String domain, String userpw, String network, String adminname, String title, String location, String comment)
   throws NotesException

パラメータ

String idfile


String server
String domain
String userpw
String network
String adminname
String title
String location
String comment
戻り値

boolean 型


使用法

StoreIDInAddressBook を true に設定すると、ID が Domino ディレクトリの文書に追加されます。

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

このメソッドは、UpdateAddressBook が true の場合、registerNewServer と共に自動的に発生します。

クロスリファレンス

LotusScript NotesRegistration クラスの AddServerToAddressbook メソッド