Share via


SPWeb.AllowRevertFromTemplateForCurrentUser property

A Boolean value that specifies whether the current user is allowed to revert the site from the template.

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

Syntax

'Declaration
Public ReadOnly Property AllowRevertFromTemplateForCurrentUser As Boolean
    Get
'Usage
Dim instance As SPWeb
Dim value As Boolean

value = instance.AllowRevertFromTemplateForCurrentUser
public bool AllowRevertFromTemplateForCurrentUser { get; }

Property value

Type: System.Boolean
Boolean

Remarks

The default value of this property is false but is true if the current user is a site administrator.

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace