編輯

共用方式為


EncryptionProvider.Authenticate(Object, Object, UInt32) Method

Definition

Used to determine whether the user has the proper permissions to open the encrypted document.

public:
 int Authenticate(System::Object ^ ParentWindow, System::Object ^ EncryptionData, [Runtime::InteropServices::Out] System::UInt32 % PermissionsMask);
public int Authenticate (object ParentWindow, object EncryptionData, out uint PermissionsMask);
abstract member Authenticate : obj * obj * uint32 -> int
Public Function Authenticate (ParentWindow As Object, EncryptionData As Object, ByRef PermissionsMask As UInteger) As Integer

Parameters

ParentWindow
Object

Specifies the window that is called to display the encryption settings.

EncryptionData
Object

Contains the encrypted data for the current document.

PermissionsMask
UInt32

The user interface displayed by the encryption provider add-in.

Returns

Integer

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.

Applies to