Share via


SPWindowsAuthenticationProvider.AllowAnonymous property

Indicates whether this [Microsoft.SharePoint.Administration.SPWindowsAuthenticationProvider] allows anonymous access or not.

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

Syntax

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

value = instance.AllowAnonymous

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

Property value

Type: System.Boolean
A Boolean value = true if anonymous access is allowed.

See also

Reference

SPWindowsAuthenticationProvider class

SPWindowsAuthenticationProvider members

Microsoft.SharePoint.Administration namespace