EncryptionProvider.Authenticate method (Office)
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 an 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.
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.