다음을 통해 공유


AnonymousState Simple Type (DeploymentManifest)

Applies to: SharePoint Foundation 2010

Specifies a value representing the current state of the AnonymousState attribute on the SPWeb object type - Web Element (DeploymentManifest).


<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 Web site.

See Also

Reference

SPWeb.WebAnonymousState

Concepts

DeploymentManifest Schema