Share via


Permission.PolicyName Property 

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

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

Usage

Dim permission1 As Permission

Dim returnValue As String
returnValue = permission1.PolicyName

Syntax

ReadOnly Property PolicyName() As String
string PolicyName {get;}
property String^ PolicyName{
    String^ get();
}
public System.String get_PolicyName();
function get PolicyName() : 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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Permission Interface
Microsoft.Office.Core Namespace

Other Resources

Permission Members