Modifica

Condividi tramite


Permission.RequestPermissionURL Property

Definition

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

public:
 property System::String ^ RequestPermissionURL { System::String ^ get(); void set(System::String ^ value); };
public string RequestPermissionURL { get; set; }
member this.RequestPermissionURL : string with get, set
Public Property RequestPermissionURL As String

Property Value

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.

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)

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:

  • 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

Applies to