EncryptionProvider.Authenticate Method
Used to determine whether the user has the proper permissions to open the encrypted document.
Syntax
expression.Authenticate(ParentWindow, EncryptionData, PermissionsMask)
expression An expression that returns a EncryptionProvider object.
Parameters
| Name | Required/Optional | Data Type | Description |
|---|---|---|---|
| ParentWindow | Required | IUnknown | Specifies the window that is called to display the encryption settings. |
| EncryptionData | Required | IUnknown | Contains the encrypted data for the current document. |
| PermissionsMask | Required | Unsigned Integer | The user interface displayed by the encryption provider add-in. |
Return Value
Long
Remarks
This is where your COM add-in encryption provider displays whatever user interface is applicable for applying encryption. For example, a password encryption provider would prompt for the user's password.