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)
Available in Sandboxed Solutions: No
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.