RegisterNewServer (NotesRegistration - LotusScript®)

Creates a server ID and optionally adds it to a Domino® Directory.

Defined in

NotesRegistration

Syntax

variant = notesRegistration .RegisterNewServer( server$, idfile$, domain$ [, servpw$ [, certpw$ [, location$ [, comment$ [, network$ [, adminname$ [, title$]]]]]]] )

Parameters

server$

String. A server name for the server ID file.

idfile$

String. The ID file to be created; specify the complete path, for example, c:\notes\data\server.id.

domain$

String. The domain to which the server belongs.

servpw$

String. A password for the server ID file.

certpw$

String. The password of the certifier ID file.

location$

String. A value for the location field in the Domino® Directory record.

comment$

String. A value for the comment field in the Domino® Directory record.

network$

String. The Notes® named network (NNN) on which the server runs.

adminname$

String. The full name of the server administrator.

title$

String. A value for the title field in the Domino® Directory record.

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.

Example