JAVA/CORBA CLASSES


addServerToAddressBook method
Example

Creates a Server record in a Domino Directory based on a server ID file and optionally attaches the ID file.

Defined in

NotesRegistration

Syntax

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

Parameters

String idfile


String server
String domain
String userpw
String network
String adminname
String title
String location
String comment
Return value

boolean


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 registerNewServer if UpdateAddressBook is true.

Language cross-reference

AddServerToAddressbook method in LotusScript NotesRegistration class

Example