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)

Syntax

'Declaration
Protected Property RightsCheckMode As LayoutsPageBase.RightsCheckModes
    Get
    Set
'Usage
Dim value As LayoutsPageBase.RightsCheckModes

value = Me.RightsCheckMode

Me.RightsCheckMode = value
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.

Remarks

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

See also

Reference

LayoutsPageBase class

LayoutsPageBase members

Microsoft.SharePoint.WebControls namespace