Share via


SharePointPermission.UnsafeSaveOnGet property

Gets or sets a value indicating whether saving to the Microsoft SharePoint Products and Technologies database is allowed during an HTTP-GET request.

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

Syntax

'Declaration
Public Property UnsafeSaveOnGet As Boolean
    Get
    Set
'Usage
Dim instance As SharePointPermission
Dim value As Boolean

value = instance.UnsafeSaveOnGet

instance.UnsafeSaveOnGet = value
public bool UnsafeSaveOnGet { get; set; }

Property value

Type: System.Boolean
true if saving to the database on an HTTP-GET request is allowed; otherwise, false.

See also

Reference

SharePointPermission class

SharePointPermission members

Microsoft.SharePoint.Security namespace