Sign (NotesDocument - LotusScript®)

Signs a document.

Defined in

NotesDocument

Syntax

Call notesDocument .Sign

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: lsERR_NOTES_SIGN_NOPERM (4165) "You must have permission to sign documents for server based agents."

Example