Permission.PolicyDescription Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a description of the policy that was applied to the current form.
public:
property System::String ^ PolicyDescription { System::String ^ get(); };
public string PolicyDescription { get; }
member this.PolicyDescription : string
Public ReadOnly Property PolicyDescription As String
Property Value
The description of the policy applied to the active form or a default value if no policy was applied.
Examples
In the following example, the PolicyDescription property is used to display the description of the policy that was applied to the current form.
_XDocument3 thisDoc = (_XDocument3)thisXDocument;
thisXDocument.UI.Alert(thisDoc.Permission.PolicyDescription);
Dim thisDoc As _XDocument3 = DirectCast(thisXDocument, _XDocument3)
thisXDocument.UI.Alert(thisDoc.Permission.PolicyDescription)
Remarks
InfoPath supports the use of administrative permission policies which list users and groups and their form permissions.