Share via


Permission.PermissionFromPolicy Property

Returns a Boolean value that indicates whether a permission policy has been applied to the active document.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
ReadOnly Property PermissionFromPolicy As Boolean
    Get
'Usage
Dim instance As Permission
Dim value As Boolean

value = instance.PermissionFromPolicy
bool PermissionFromPolicy { get; }

Property Value

Type: System.Boolean

Remarks

Microsoft Office 2003 Information Rights Management 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.

See Also

Reference

Permission Interface

Permission Members

Microsoft.Office.Core Namespace