共用方式為


_sWebMetadata.AllowAnonymousAccess Field

Specifies whether anonymous users have access permissions for the site.

Namespace:  [SiteData Web service]
Web service reference: http://Site/_vti_bin/SiteData.asmx

Syntax

'Declaration
Public AllowAnonymousAccess As Boolean
'Usage
Dim instance As _sWebMetadata
Dim value As Boolean

value = instance.AllowAnonymousAccess

instance.AllowAnonymousAccess = value
public bool AllowAnonymousAccess

Remarks

This property is a Boolean variable indicating whether non-authenticated users can access the list. Its value is true if non-authenticated users can access the list, otherwise false.

See Also

Reference

_sWebMetadata Structure

_sWebMetadata Members

SiteData Web Service

Other Resources

Security, Users, and Groups Overview