WriteSecurity Property
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

SPList.WriteSecurity Property

Windows SharePoint Services 3

Gets or sets the Write security setting for the list.

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

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.

Show:
© 2016 Microsoft