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
Protected Sub CheckRights
Me.CheckRights()
protected void CheckRights()
Exceptions
| Exception | Condition |
|---|---|
| UnauthorizedAccessException | The current user does not have the required rights. |