JAVA/CORBA CLASSES


registerNewUser method
Example

Creates a user ID and optionally adds it to a Domino Directory.

Defined in

Registration

Syntax

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

Parameters

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
Return value

boolean


Usage

Before calling this method, set CertifierIDFile, Expiration (defaults to 2 years from now), IDType, and MinPasswordLength.

Note The expiration default is new with Release 6.0.3.

Set UpdateAddressBook true to add a Person record to the Domino Directory. Set StoreIDInAddressBook true to attach the ID to the Domino Directory record. These operations can be performed separately with addUserToAddressBook.

Set CreateMailDb to true to create a mail file during registration.

Set OrgUnit to add an organizational unit to the ID name. Optionally set AltOrgUnit and AltOrgUnitLang.

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.

Language cross-reference

RegisterNewUser method in LotusScript NotesRegistration class

AdminRegisterUser @command in formula language

Example