ReadSecurity Element

The ReadSecurity element contains the Read security setting for a list.

Syntax

<ReadSecurity>
</ReadSecurity>

Element Relationships

Parent Elements
Security

Remarks

The ReadSecurity element can contain the following values:

  • 1 — All users have Read access to all items.
  • 2 — Users have Read access only to items that they create.

Example

The following example outlines how to use the ReadSecurity element.

<List Name="Announcements"...>
    .
    .
    .
  <Security>
    <ReadSecurity>1</ReadSecurity>
    <WriteSecurity>1</WriteSecurity>
    <SchemaSecurity>1</SchemaSecurity>
  </Security
    .
    .
    .
</List>