共用方式為


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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<FlagsAttribute> _
Protected Enumeration RightsCheckModes
'Usage
Dim instance As LayoutsPageBase.RightsCheckModes
[FlagsAttribute]
protected enum RightsCheckModes

Members

Member name Description
None Rights are not checked.
OnPreInit Rights are checked at the pre-initialization event.
OnLoadComplete Rights are checked when loading of the page completes.

Remarks

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.

See Also

Reference

Microsoft.SharePoint.WebControls Namespace