Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

LayoutsPageBase.RightsCheckMode property

Gets or sets a value that specifies whether the rights of the user to the page are checked at the LoadComplete event, the PreInit event, both, or neither.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

protected LayoutsPageBase.RightsCheckModes RightsCheckMode { get; set; }

Property value

Type: Microsoft.SharePoint.WebControls.LayoutsPageBase.RightsCheckModes
A LayoutsPageBase.RightsCheckModes value that specifies when, if at all, the rights of the user are checked.

The CheckRights method will be called by either the OnLoadComplete or OnInit(EventArgs) (or both) handlers depending on the value of RightsCheckMode.

© 2015 Microsoft