JAVA/CORBA CLASSES


addUserToAddressBook method
Example

Creates a Person record in a Domino Directory based on a user ID file and optionally attaches the ID file.

Defined in

Registration

Syntax

public boolean addUserToAddressBook(String idfile, String fullname, String lastn)
   throws NotesException

public boolean addUserToAddressBook(String idfile, String fullname, String lastn, String userpw)
   throws NotesException

public boolean addUserToAddressBook(String idfile, String fullname, String lastn, String userpw, String firstn, String middle, String mailserv, String mailfilepath, String fwdaddr, String location, String comment)
   throws NotesException

Parameters

String idfile


String fullname
String lastn
String userpw
String firstn
String middle
String mailserv
String mailfilepath
String fwdaddr
String location
String comment
Return value

boolean


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.

StoreIDInAddressBook must be true

This method occurs automatically with registerNewUser if UpdateAddressBook is true.

Language cross-reference

AddUserToAddressbook method in LotusScript NotesRegistration class

Example