次の方法で共有


SPWeb.WebAnonymousState enumeration

Specifies settings for anonymous access to a Web site.

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

Syntax

'Declaration
Public Enumeration WebAnonymousState
'Usage
Dim instance As SPWeb.WebAnonymousState
public enum WebAnonymousState

Members

Member name Description
Disabled Specifies that anonymous users have no access to a Web site.
Enabled Specifies that anonymous users can access lists and libraries if the lists and libraries allow anonymous access.
On Specifies that anonymous users can access the entire Web site. This setting means that the value of the AnonymousPermMask64 property depends on the permission mask for the Limited Access role.

See also

Reference

Microsoft.SharePoint namespace