Syntax

expression.ShowSettings(SessionHandle, ParentWindow, ReadOnly, Remove)

expression An expression that returns a EncryptionProvider object.

Parameters

Name Required/Optional Data Type Description
SessionHandle Required Long The ID of the current session.
ParentWindow Required IUnknown Specifies the window that is called to display the encryption settings.
ReadOnly Required Boolean Specifies whether you want the user to be able to change the encryption settings.
Remove Required Boolean If True the encryption for a document will be removed during the next save operation.

Remarks

This method can only be called on an already encrypted document. You can use this method in your COM add-in to display whatever user experience you like based on the user'smissions. For example, in a pure encryption scenario, you can display a dialog box to change the document's password. In a rights management scenario, you can decide whether to show a dialog box for changing permissions or show the user's permissions.

See also: