SPWeb.WebAnonymousState enumeration
Collapse the table of content
Expand the table of content

SPWeb.WebAnonymousState enumeration

Specifies settings for anonymous access to a Web site.

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

public enum WebAnonymousState

Member nameDescription
DisabledSpecifies that anonymous users have no access to a Web site.
EnabledSpecifies that anonymous users can access lists and libraries if the lists and libraries allow anonymous access.
OnSpecifies 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.
© 2016 Microsoft