LOTUSSCRIPT/COM/OLE CLASSES


Examples: Verifier property
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. For example, this property might return "Acme Development Corporation."

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