Permission.ApplyPolicy Method
Applies the specified permission policy to the active document.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Sub ApplyPolicy ( _
FileName As String _
)
'Usage
Dim instance As Permission
Dim FileName As String
instance.ApplyPolicy(FileName)
void ApplyPolicy(
string FileName
)
Parameters
FileName
Type: System.StringRequired 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.