Partager via


Web.AllowRevertFromTemplateForCurrentUser - Propriété

Gets a value that specifies whether the current user is allowed to revert the site to a default site template.

Espace de noms :  Microsoft.SharePoint.Client
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public ReadOnly Property AllowRevertFromTemplateForCurrentUser As Boolean
    Get
'Utilisation
Dim instance As Web
Dim value As Boolean

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

Valeur de propriété

Type : System.Boolean
Returns Booleantrue if the current user is allowed to revert the site to a default site template; otherwise, returns false.

Remarques

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

Voir aussi

Référence

Web classe

Web - Membres

Microsoft.SharePoint.Client - Espace de noms