LayoutsPageBase.CheckRights method
Verifies that the current user has the rights that are required to access the LayoutsPageBase page.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Sub CheckRights
'Usage
Me.CheckRights()
protected void CheckRights()
Exceptions
Exception | Condition |
---|---|
UnauthorizedAccessException | The current user does not have the required rights. |