Share via


SPIisSettings.UseBasicAuthentication property

Gets or sets a value that specifies whether the Web application uses Basic authentication.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property UseBasicAuthentication As Boolean
    Get
    Set
'Usage
Dim instance As SPIisSettings
Dim value As Boolean

value = instance.UseBasicAuthentication

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

Property value

Type: System.Boolean
true to allow Basic authentication; otherwise, false. The default value is false.

See also

Reference

SPIisSettings class

SPIisSettings members

Microsoft.SharePoint.Administration namespace