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