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)
Available in Sandboxed Solutions: No
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