Share via


permissions Element

Asserts the permissions the InfoPath form requires for the ActiveX controls in the view.

Type

  xsd:complexType

Child Elements

Element Description
allowedControl Specifies the ActiveX controls that are allowed to be instantiated.

Attributes

None.

Definition

  <xsd:element name="permissions">
  <xsd:complexType>
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
      <xsd:element ref="xsf:allowedControl"/>
    </xsd:choice>
  </xsd:complexType>
</xsd:element>

Remarks

The permissions element also provides installation information for ActiveX controls that are not already installed on the user's computer.

Example

The following is an example of the permissions element:

  <xsf:permissions>
  <xsf:allowedControl 
        cabFile="{84F32C01-78D8-4B93-8ED4-106DA70224C2}.cab” 
        clsid="{84F32C01-78D8-4B93-8ED4-106DA70224C2}" 
        version="1,0,0,1"/>
  <xsf:allowedControl 
        clsid="{F08DF954-8592-11D1-B16A-00C0F0283630}"/>
</xsf:permissions>