AnonymousState Simple Type (DeploymentManifest)
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Specifies a value representing the current state of the AnonymousState attribute on the SPWeb object type - Web element (DeploymentManifest).
Definition
<xs:simpleType name="AnonymousState">
<xs:restriction base="xs:string">
<xs:enumeration value="Disabled" />
<xs:enumeration value="Enabled" />
<xs:enumeration value="On" />
</xs:restriction>
</xs:simpleType>
Enumeration values
Value | Description |
---|---|
Disabled |
Disables the attribute to prevent anonymous users from gaining access to the site. |
Enabled |
Enables the attribute, but does not set it to on. Anonymous users can access lists and libraries. |
On |
Enables the attribute and sets it to on. Anonymous users can access the entire website. |