Share via


SPWindowsAuthenticationProvider.AllowAnonymous property

Gets or sets a Boolean value specifying whether to allow anonymous access.

Namespace:  Microsoft.SharePoint.AdministrationOperation
Assembly:  Microsoft.SharePoint.AdministrationOperation (in Microsoft.SharePoint.AdministrationOperation.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
true if anonymous access is allowed; otherwise false.

See also

Reference

SPWindowsAuthenticationProvider class

SPWindowsAuthenticationProvider members

Microsoft.SharePoint.AdministrationOperation namespace