This documentation is archived and is not being maintained.

Security Element

Windows SharePoint Services 3

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Contains the Read, Schema, and Write security settings that specify how the security for a list is configured.


<Security>
  <ReadSecurity> 1 | 2 </ReadSecurity>
  <SchemaSecurity> 1 | 2 </SchemaSecurity>
  <WriteSecurity> 1 | 2 | 4 </WriteSecurity>
</Security>

Attribute

Description

None

N/A

Minimum: 0

Maximum: 1

The following table summarizes possible values that subelements of the Security element can contain.

Value

ReadSecurity

SchemaSecurity

WriteSecurity

1

Read all items.

Anyone can modify the schema (add and delete columns, etc.).

Write all items.

2

Read only my items.

Only the list owner can modify the schema.

Write only my items.

4

N/A

N/A

Write no items (read-only list).

The following example outlines how to use the Security element.

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