SPWindowsAuthenticationProvider.AllowAnonymous property
會指出這個**[Microsoft.SharePoint.Administration.SPWindowsAuthenticationProvider]**是否允許匿名存取,或未。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property AllowAnonymous As Boolean
Get
Set
'用途
Dim instance As SPWindowsAuthenticationProvider
Dim value As Boolean
value = instance.AllowAnonymous
instance.AllowAnonymous = value
public bool AllowAnonymous { get; set; }
Property value
Type: System.Boolean
Boolean 值 = true ,如果允許匿名存取。
請參閱
參照
SPWindowsAuthenticationProvider class