Permission.ApplyPolicy Method
Office Developer Reference |
Applies the specified permission policy to the active document.
Syntax
expression.ApplyPolicy(FileName)
expression A variable that represents a Permission object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
FileName | Required | String | The path and filename of the permission policy template file. |
Remarks
Microsoft Office Information Rights Management supports the use of administrative permission policies which list users and groups and their document permissions. The ApplyPolicy method applies a permission policy to the active document.
Example
The following example enables permissions on the active document and applies an administrative permission policy.
Visual Basic for Applications |
---|
|
See Also