AddUserToAddressBook (NotesRegistration - LotusScript®)
Creates a Person record in a Domino® Directory based on a user ID file and optionally attaches the ID file.
Defined in
Syntax
variant = notesRegistration .AddUserToAddressBook( idfile$, fullname$, lastname$ [ , userpw$ [, firstname$ [, middle$ [ , mailserver$ [ , maildbpath$ [ , fwdaddress$ [,location$ [ , comment$]]]]]]]] )
Parameters
idfile$
String. The ID file for the user to be added to the Domino Directory; specify the full path, for example, c:\notes\data\user.id.
fullname$
String. The user's full name.
lastname$
String. The user's last name.
userpw$
String. The password for the user ID file.
firstname$
String. The user's first name.
middle$
String. The user's middle name.
mailserver$
String. The name of the user's mail server in canonical format.
mailidpath$
String. The relative pathname for the user's mail file, for example, MAIL\JYIP.NSF.
fwdaddress$
String. The user's forwarding mail address.
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.
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
addUserToAddressBook method in Java Registration class