OnSign Event

Microsoft Office InfoPath

Occurs after a set of signed data has been selected to sign.

Function XDocument::OnSign(ByRef pEvent As SignEvent)

pEvent    Required SignEvent. A reference to the SignEvent object.

Remarks

You can use this event to add additional data to the digital signature. For example, you can add data from a trusted timestamp server, or add a server-side countersignature of the transaction. You can also use this event to block signing if the current user is not a member of a particular group.

Note  This object model member is not supported when the Disable Service Pack features option on the Advanced tab of the Options dialog box in InfoPath is selected or when Microsoft Office 2003 Service Pack 1 or later is not installed. Any form that implements this object model member in its code will generate an error message if it is opened in InfoPath when service pack features are disabled or unavailable.