WriteSecurity Element

The WriteSecurity element contains the Write security setting for a list.

Syntax

<WriteSecurity>
</WriteSecurity>

Element Relationships

Parent Elements
Security

Remarks

The WriteSecurity element can contain the following values:

1 — Write all items.

2 — Write only my items.

4 — Write no items (read-only list).

Example

The following example outlines how to use the WriteSecurity element.

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