Share via


SPList.ReadSecurity property

Gets or sets the Read security setting for the list.

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

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