Share via


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

Protected Property RightsCheckMode As LayoutsPageBase.RightsCheckModes
    Get
    Set

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