Permission.PermissionFromPolicy Property
Office Developer Reference |
Gets a Boolean value that indicates whether a permission policy has been applied to the active document. Read-only.
Syntax
expression.PermissionFromPolicy
expression A variable that represents a Permission object.
Remarks
Information Rights Management in Microsoft Office 2003 or the 2007 Microsoft Office system supports the use of administrative permission policies which list users and groups and their document permissions. The PermissionFromPolicy property returns a Boolean value that indicates whether a permission policy was applied to the active document the last time permissions were enabled on the document.
The PermissionFromPolicy property always returns False when checked by a non-owner of the document, even when the user has object model permissions.
Example
The following example displays permission policy information about the active document.
Visual Basic for Applications |
---|
|
See Also