.

HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1 212-599-2048

Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development

Facebook Twitter YouTube
Chat now       
.
ProductsDownloadsNewsAbout usContact


Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner

LOTUSSCRIPT/COM/OLE CLASSES


Examples: Sign method
This script creates a new document in the current database, signs it, saves it, and gets the name of the certificate that verified the signature. The document is signed with the current user's Notes ID.

Dim session As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Dim verifyName As String
Set db = session.CurrentDatabase
Set doc = New NotesDocument( db )
doc.Form = "Main Topic"    
doc.Subject = "A signed document"    
Call doc.Sign
Call doc.Save( False, True )
verifyName = doc.Verifier

See Also