Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
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>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child elements
Parent elements
Occurrences
- Minimum: 0
- Maximum: 1
Remarks
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). |
Example
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>