共用方式為


SPWindowsAuthenticationProvider.UseBasicAuthentication property

會指出是否此宣告**[SPWebApplication]**允許基本驗證或宣告模式中找不到。

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

Syntax

'宣告
Public Property UseBasicAuthentication As Boolean
    Get
    Set
'用途
Dim instance As SPWindowsAuthenticationProvider
Dim value As Boolean

value = instance.UseBasicAuthentication

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

Property value

Type: System.Boolean
Boolean 值 = true ,如果宣告模式中允許基本驗證。

請參閱

參照

SPWindowsAuthenticationProvider class

SPWindowsAuthenticationProvider members

Microsoft.SharePoint.Administration namespace