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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public bool AllowRevertFromTemplateForCurrentUser { get; }

Property Value

Type: System.Boolean

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