Permission.PolicyName Property

Returns the name of the permissions policy applied to the active document.

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

Syntax

'Declaration
ReadOnly Property PolicyName As String
    Get
'Usage
Dim instance As Permission
Dim value As String

value = instance.PolicyName
string PolicyName { get; }

Property Value

Type: System.String

Remarks

Microsoft Office Information Rights Management supports the use of administrative permission policies which list users and groups and their document permissions. The PolicyName property returns the name of the policy applied to the active document, or a default value if a policy was not used.

See Also

Reference

Permission Interface

Permission Members

Microsoft.Office.Core Namespace