SPList.WriteSecurity property
SharePoint 2013
Gets or sets the Write security setting for the list.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: System.Int32A 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.