다음을 통해 공유


SPIisSettings.AllowAnonymous Property

Gets or sets a Boolean value that specifies whether the Web application allows anonymous access.

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 SPIisSettings
Dim value As Boolean

value = instance.AllowAnonymous

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

Property Value

Type: System.Boolean
true to allow anonymous access; otherwise, false. The default value is false.

See Also

Reference

SPIisSettings Class

SPIisSettings Members

Microsoft.SharePoint.Administration Namespace