LayoutsPageBase.RequireDefaultLayoutsRights 属性
获取一个值,该值指示页面是否需要至少的默认设置的访问应用程序页 (这是 _layouts 文件夹中的页面) 所需的权限。
命名空间: Microsoft.SharePoint.WebControls
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Protected Overridable ReadOnly Property RequireDefaultLayoutsRights As Boolean
Get
用法
Dim value As Boolean
value = Me.RequireDefaultLayoutsRights
protected virtual bool RequireDefaultLayoutsRights { get; }
属性值
类型:System.Boolean
true如果至少用户必须为应用程序页的默认权限才能访问LayoutsPageBase;否则为false。
备注
默认实现总是返回true。
RightsRequired属性可能需要,重写,如果用户具有多个权限访问当前LayoutsPageBase除了默认权限。