Show All

# requireFullTrust Attribute

Allows the form to run as a fully trusted form when a form template is registered or signed with a certificate.

## Type

    xsf:xdYesNo

## Remarks

The requireFullTrust attribute is an optional attribute of the xDocumentClass element.

Forms that have the requireFullTrust attribute set to "yes" get full trust security privileges in Microsoft Office InfoPath 2003. Allowed attribute values are "yes" and "no". The default value is "no". If set to "yes" the form must be identified by a Uniform Resource Name (URN) specified in the name attribute.

Note Fully trusted forms need to be registered, otherwise they cannot be opened in InfoPath.

## Example

The following is an example of the requireFullTrust attribute as it is used in the xDocumentClass element:

    <xsf:xDocumentClass
       xmlns:xsf="http://schemas.microsoft.com/office/infopath/2003/solutionDefinition"
       name="urn:microsoft-com:myTravelReport"
       author="AuthorName"
       description="Travel Report form for entering travel reports, issues, expenses, etc."
       dataFormSolution="yes"
       solutionVersion = "1.0.0.1"
       productVersion="11.0.5106"
       solutionFormatVersion="1.0.0.0"
       requireFullTrust="yes">
       ...
    </xsf:xDocumentClass>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp