Export (0) Print
Expand All
Expand Minimize

SPList.ReadSecurity property

Gets or sets the Read security setting for the list.

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

'Declaration
PublicPropertyReadSecurityAsIntegerGetSet
'Usage
DiminstanceAsSPListDimvalueAsIntegervalue = instance.ReadSecurity

instance.ReadSecurity = value

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:
© 2014 Microsoft