Permission.RequestPermissionURL property

Office 2013 and later

Gets or sets the file, URL, or e-mail address to contact for users who need additional permissions on the current form.

Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

string RequestPermissionURL { get; set; }

Property value

Type: System.String
The string specified in the Users can request additional permissions from text box of the Permission dialog box in InfoPath design mode, or the value set from code using this property.

The RequestPermissionUrl property corresponds to the value specified in the Users can request additional permissions from text box in the Design mode user interface. Use the RequestPermissionUrl property to specify a file, a Web site, or an e-mail contact from which users can request, or learn how to request, additional permissions on the active form. For example:

  • A web address: http://companyserver/request_permissions.asp

  • A file: \\companyserver\share\requesting_permissions.txt

  • An e-mail address:

Because the Permission object and its members are new to Microsoft InfoPath, you must cast the object returned by the thisXDocument variable to the _XDocument3 type to access this object and its members. For more information, see How to: Use Microsoft.Office.Interop.InfoPath.SemiTrust Members That Are Not Compatible with InfoPath 2003.

This member 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.

In the following example, the RequestPermissionURL property is used to display the URL or e-mail address to contact for additional permissions..

_XDocument3 thisDoc = (_XDocument3)thisXDocument;