APIs used for the User Add operation

These APIs are used for the User Add operation.

Table 1. APIs used by User Add operation
API API Library/Class Description
ConvertTextToTIMEDATE() C Converts a character time or date string into Domino® binary TIMEDATE format.
SECKFMGetCertifierCtx() C Gets the handle to a certifier context of the certifier ID file. When done with the certifier context, you are responsible for freeing this memory by calling SECKFMFreeCertifierCtx().

REGNewPerson

C
Registers a new person. It performs four functions. You can select these functions by setting the appropriate flags in the REGFlags, REGFlagsExt word members of REG_PERSON_INFO:
  1. Create and certify a person's ID file.
  2. Create a mail file on the person's specified mail server.
  3. Add or modify the person record in the Domino Directory on the registration server.
  4. Create roaming files on the person's specified roaming server.

It opens the Domino Directory on the specified registration server, verifies write access to the book, and looks for the EntryName that is specified. If the person is found, an error is returned unless the called specified in the REGFlags word that the person record can be modified. If the ID file is found, an error is returned unless the caller specified that it can be modified (overwritten).

REGNewUser() C Registers a new workstation. It performs three functions, each of which can be selected separately by setting the appropriate flag in the REGFlags word:
  1. Create and certify a user's ID file.
  2. Create a mail file on the user's specified mail server.
  3. Add or modify the user's person record in the Domino Directory on the registration server.
It opens the Domino Directory on the specified registration server, verify write access to the book, and look for the EntryName specified. If the user is found, an error is returned unless the caller specified in the REGFlags word that the user entry can be modified. If the ID file is found, an error is returned unless the caller specified that it can be modified (overwritten).
SECKFMFreeCertifierCtx() C Frees the certifier context obtained from SECKFMGetCertifierCtx.
GetNote() C++ / LNDatabase Gets a pointer to the specified note in the database.
OSPathNetConstruct() C Takes a port name, a server name, and file path relative to the Domino or Notes® data directory and creates a full network path specification for a Domino database file.
NSFDbQuotaSetExt() C Sets the specified database quota information. This information can also be set with the Notes user interface by choosing menu items File > Tools > Server Administration to open the Domino Administrator. Next, click the File tab and select a database, then choose Files > Quotas from the menu to see the quota settings dialog.
Open() C++ / LNDocument Opens the document.
Close() C++ / LNDocument Closes the document.
Save() C++ / LNDocument Saves the document.
FindEntry() C++ / LNText Locates the first entry in the LNText array that exactly matches the specified search string.
DeleteAttachment() C++ / LNDocument / LNNote Deletes the specified attachment from the note.
CreateAttachment() C++ / LNDocument / LNNote Attaches a file to the note.
Detach() C++ / LNDocument / LNNote Saves a copy of the specified attachment to disk.