Compartilhar via


FormsService.AllowUdcAuthenticationForDataConnections Property

Gets or sets the value that indicates whether authentication information in a Universal Data Connection (UDC) file can be used.

Namespace:  Microsoft.Office.InfoPath.Server.Administration
Assembly:  Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)

Syntax

'Declaration
Public Property AllowUdcAuthenticationForDataConnections As Boolean
    Get
    Set
'Usage
Dim instance As FormsService
Dim value As Boolean

value = instance.AllowUdcAuthenticationForDataConnections

instance.AllowUdcAuthenticationForDataConnections = value
public bool AllowUdcAuthenticationForDataConnections { get; set; }

Property Value

Type: System.Boolean
true if authentication from the UDC file can be used in the data connection; false if it is ignored.

Remarks

The AllowUdcAuthenticationForDataConnections is false by default, and corresponds to the Allow non-admin-deployed form templates to use authentication information contained in data connection files setting on the Configure InfoPath Forms Services page of the Central Administration site.

If a Universal Data Connection (UDC) file contains alternate authentication information, such as a username and password or a Single Sign-On (SSO) application ID, the AllowUdcAuthenticationForDataConnections property can be used to disable all forms on the server from using that information.

See Also

Reference

FormsService Class

FormsService Members

Microsoft.Office.InfoPath.Server.Administration Namespace