Sign a Database

Signing a database signs all the elements in a database with the current user's signature. Prior to Domino/Notes 6, an entire database could be signed only by an Administrator (using the Notes Administrator client). With Domino/Notes 6, a new method has been exposed to allow databases to be signed by calling the sign method of the Notes Database class.

The syntax for the sign method is:

Call notesdatabase.Sign([intType], [bolExistingSignaturesOnly], [strName], [strIsNoteID])

The sign method enables you to specify which design elements are signed in the intType property. These elements can be

  • ACL

  • Agents

  • Forms

  • About Database and Using Database documents

  • Database icon

  • Replication formula

  • Shared fields

  • All views

  • All design elements

  • All data documents

The bolExistingSignaturesOnly parameter determines whether only elements with existing signatures should be updated or whether all design elements should be updated (True to sign elements with existing signatures, False to sign all elements).

The strName parameter is the programmatic name or Notes ID of a single design element to be signed.

The strIsNoteID parameter determines whether the third parameter is a Notes ID or the programmatic name of the design element. If True, the third parameter is a Notes ID; if False, the third parameter is a programmatic name.

This method can be used only on a workstation.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.143.32