SPList.ReadSecurity Property

Gets or sets the Read security setting for the list.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public int ReadSecurity { get; set; }

Property Value

Type: System.Int32
A 32-bit integer that indicates the Read security setting. Possible values include the following:
  • 1 - All users have Read access to all items.

  • 2 - Users have Read access only to items that they create.

Show: