Share via


SPWindowsAuthenticationProvider.UseBasicAuthentication property

Gets or sets a Boolean value specifying whether to use basic authentication.

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

Syntax

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

value = instance.UseBasicAuthentication

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

Property value

Type: System.Boolean
true if basic authentication is used; otherwise, false.

See also

Reference

SPWindowsAuthenticationProvider class

SPWindowsAuthenticationProvider members

Microsoft.SharePoint.AdministrationOperation namespace