共用方式為


SPWindowsAuthenticationProvider.UseBasicAuthentication property

取得或設定 Boolean 值,指定是否要使用基本驗證。

Namespace:  Microsoft.SharePoint.AdministrationOperation
Assembly:  Microsoft.SharePoint.AdministrationOperation (in Microsoft.SharePoint.AdministrationOperation.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
true如果使用基本驗證 ;否則,請false。

請參閱

參照

SPWindowsAuthenticationProvider class

SPWindowsAuthenticationProvider members

Microsoft.SharePoint.AdministrationOperation namespace