Share via


SPList.WriteSecurity property

Gets or sets the Write security setting for the list.

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

Syntax

'Declaration
Public Property WriteSecurity As Integer
    Get
    Set
'Usage
Dim instance As SPList
Dim value As Integer

value = instance.WriteSecurity

instance.WriteSecurity = value
public int WriteSecurity { get; set; }

Property value

Type: System.Int32

A 32-bit integer that specifies the Write security setting. Possible values include the following:

  • 1 — All users can modify all items.

  • 2 — Users can modify only items that they create.

  • 4 — Users cannot modify any list item.

See also

Reference

SPList class

SPList members

Microsoft.SharePoint namespace