getProfileDocument (Database - Java)

Retrieves or creates a profile document.

Defined in

Database

Syntax

public Document getProfileDocument(String profile, String profilekey)
    throws NotesException

Parameters

String profile

The name or an alias of the profile form.

String profilekey

The unique key associated with the profile document.

Return value


Document

The profile document for the specified key, or a new profile document if the document with the key does not exist.

Example