UnsecuredLayoutsPageBase.AllowAnonymousAccess 属性

获取一个值,指示用户是否可以无需登录访问的页面。

命名空间:  Microsoft.SharePoint.WebControls
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Protected Overridable ReadOnly Property AllowAnonymousAccess As Boolean
    Get
用法
Dim value As Boolean

value = Me.AllowAnonymousAccess
protected virtual bool AllowAnonymousAccess { get; }

属性值

类型:System.Boolean
true允许匿名访问 ;否则为false。

备注

默认实现返回false。

另请参阅

引用

UnsecuredLayoutsPageBase 类

UnsecuredLayoutsPageBase 成员

Microsoft.SharePoint.WebControls 命名空间