XDocument.Permission Property
A read-only property that returns a Permission object associated with the form. Read-only
Version Information
Version Added: InfoPath 2007
Syntax
expression.Permission
expression An expression that returns an XDocument object.
Return Value
Permission
Remarks
A Permission object represents the Information Rights Management (IRM) permission settings for the form. The Permission object can be used to restrict permissions to the active form and to return or set specific permissions settings, such as whether data in the form can be edited, copied, or printed.
Security Level 2: Can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.