LOTUSSCRIPT/COM/OLE CLASSES


Sign method
Example

Signs elements in a database with the signature of the current user. This method programmatically mimics the use of the Sign Database dialog in the Notes Domino Admin client.

Note This method is new with Release 6.

Defined in

NotesDatabase

Syntax

Call notesDatabase.Sign( [ documentType% ] [ , existingSigsOnly ] [ , nameStr$] [ , nameStrIsNoteID ] )

Parameters

documentType%

existingSigsOnly nameStr
nameStrIsNoteID Usage

This method signs all design elements of the specified type if you specify parameter 1 and do not specify parameter 3.

If you specify parameter 3, this method signs one design element. You can also specify parameter 1 to positively define the design element. If more than one design element has the same name and parameter 1 is not specified, this method signs the first design element with the specified name.

To sign all elements of a data document, including active content (hotspots), the method must be performed twice, once specifying parameter 1 of DBSIGN_DOC_ALL and once specifying parameter 1 of DBSIGN_DOC_DATA.

This method executes only on a client.

Language cross-reference

sign method in Java Database class

Example