Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






Sign method

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%

Integer. Optional. One of the following constants.

existingSigsOnly

Boolean. Optional.

nameStr

String. Optional. Programmatic name or note ID of a single design element. If this parameter is not specified, all design elements of type parameter 1 are signed.

nameStrIsNoteID

Boolean. Optional.

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

See examples

Examples: Sign method




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009