Share via


Permission.RequestPermissionURL property

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
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
Property RequestPermissionURL As String
    Get
    Set
'Usage
Dim instance As Permission
Dim value As String

value = instance.RequestPermissionURL

instance.RequestPermissionURL = value
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.

Remarks

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:

Examples

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;
thisXDocument.UI.Alert(thisDoc.Permission.RequestPermissionURL);
Dim thisDoc As _XDocument3 = DirectCast(thisXDocument, _XDocument3)
thisXDocument.UI.Alert(thisDoc.Permission.RequestPermissionURL)

See also

Reference

Permission interface

Permission members

Microsoft.Office.Interop.InfoPath namespace