Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Public MustOverride Property RequestPermissionUrl As String
Dim instance As Permission
Dim value As String

value = instance.RequestPermissionUrl

instance.RequestPermissionUrl = value

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: mailto:permissionsmrg@example.com?Subject=Request%20permissions

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.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

In the following example, clicking the Button control displays the URL or e-mail address to contact for additional permissions.

Public Sub CTRL1_Clicked(ByVal sender As Object, _
   ByVal e As ClickedEventArgs)
End Sub
© 2015 Microsoft