LayoutsPageBase.CheckRights 方法

验证当前用户具有访问LayoutsPageBase页所需的权限。

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

语法

声明
Protected Sub CheckRights
用法

Me.CheckRights()
protected void CheckRights()

异常

异常 条件
UnauthorizedAccessException

当前用户没有所需的权限。

另请参阅

引用

LayoutsPageBase 类

LayoutsPageBase 成员

Microsoft.SharePoint.WebControls 命名空间