LOTUSSCRIPT/COM/OLE CLASSES


RegisterNewUser method
Example

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

Defined in

NotesRegistration

Syntax

variant = notesRegistration.RegisterNewUser( lastname$, idfile$, mailserver$ [, firstname$ [, middle$ [, certpw$ [, location$ [, comment$ [, maildbpath$ [, fwddomain$ [, userpw$ [, usertype% [, altname [, altnamelang ]]]]]]]]]]] )

Parameters

lastname$


idfile$
mailserver$
firstname$
middle$
certpw$
location$
comment$
maildbpath$
fwddomain$
userpw$
usertype%

Note This parameter is new with Release 5.

altname

Note This parameter is new with Release 5.0.2.


altnamelang

Note This parameter is new with Release 5.0.2.


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 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 AddUserToAddressBook.

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 Java Registration class

AdminRegisterUser @command in formula language

Example