共用方式為


LayoutsPageBase.RequireSiteAdministrator Property

Gets a value that indicates whether only site collection administrators can access the page.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected Overridable ReadOnly Property RequireSiteAdministrator As Boolean
    Get
'Usage
Dim value As Boolean

value = Me.RequireSiteAdministrator
protected virtual bool RequireSiteAdministrator { get; }

Property Value

Type: System.Boolean
true if only site collection administrators can access the page; otherwise, false.

Remarks

The default implementation always returns false.

See Also

Reference

LayoutsPageBase Class

LayoutsPageBase Members

Microsoft.SharePoint.WebControls Namespace