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

Syntax

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

value = instance.ReadSecurity

instance.ReadSecurity = value
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.

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace