registerNewServer (NotesRegistration - JavaScript™)
Creates a server ID and optionally adds it to a Domino® Directory.
Defined in
NotesRegistrationSyntax
registerNewServer(server:string,
idfile:string, domain:string, pw: String) : boolean
registerNewServer(server:string,
idfile:string, domain:string, serverpw: String, certpw:string) : boolean
registerNewServer(server:string,
idfile:string, domain:string, serverpw: String, certpw:string, location:string,
comment:string, network:string, adminname:string, title:string) :
boolean
Parameter | Description |
---|---|
String server |
A server name for the server ID file. |
String idfile |
The ID file to be created; specify the complete path, for example, c:\notes\data\server.id. |
String domain |
The domain to which the server belongs. |
String serverpw |
A password for the server ID file. |
String certpw |
The password of the certifier ID file. |
String location |
A value for the location field in the Domino® Directory record. |
String comment |
A value for the comment field in the Domino® Directory record. |
String network |
The Notes® named network (NNN) on which the server runs. |
String adminname |
The full name of the server administrator. |
String title |
A value for the title field in the Domino® Directory record. |
Return value | Description |
---|---|
boolean |
True if the operation is successful; false otherwise. |
Usage
Before calling this method, set CertifierIDFile, Expiration (defaults to 100 years from now), IDType, and MinPasswordLength.Note The expiration default is new with Release 6.0.3.
Set UpdateAddressBook true to add a Server record to the Domino® Directory. Set StoreIDInAddressBook true to attach the ID to the Domino® Directory record. These operations can be performed separately with addServerToAddressBook.
Set OrgUnit to add an organizational unit to the ID name.
Optionally set IsNorthAmerican and RegistrationLog.
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.