Web.AllowRevertFromTemplateForCurrentUser property
Gets a value that specifies whether the current user is allowed to revert the site to a default site template.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public ReadOnly Property AllowRevertFromTemplateForCurrentUser As Boolean
Get
'Usage
Dim instance As Web
Dim value As Boolean
value = instance.AllowRevertFromTemplateForCurrentUser
public bool AllowRevertFromTemplateForCurrentUser { get; }
Property value
Type: System.Boolean
Returns Booleantrue if the current user is allowed to revert the site to a default site template; otherwise, returns false.
Remarks
The default value of this property is false but is true if the current user is a site administrator.