sign (Document - Java)

Signs a document.

Defined in

Document

Syntax

public void sign()
    throws NotesException

Usage

If you want the signature to be saved, you must call the save method after signing the document.

If the script is running on a server, the signer must be listed in "Run unrestricted methods and operations" under the Security tab in the Server record of the Domino® Directory. Otherwise the following error occurs: NOTES_ERR_SIGN_NOPERM (4165) "You must have permission to sign documents for server based agents."

Example