LayoutsPageBase.RightsCheckModes enumeration

Specifies the event or events at which the rights of the user are checked.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

protected enum RightsCheckModes

Member nameDescription
NoneRights are not checked.
OnPreInitRights are checked at the pre-initialization event.
OnLoadCompleteRights are checked when loading of the page completes.

This enumeration is primarily used as the value of the LayoutsPageBase.RightsCheckMode property.

This is a bitwise enumeration so you can specify that rights be checked at both OnLoadComplete and OnPreInit.