SPList.Permissions property
NOTE: This API is now obsolete.
Use the RoleAssignments() property instead, to get the collection of role assignments for the list. For more information, see Authorization object model. (In Windows SharePoint Services 2.0, the Permissions property returned the collection of permission objects that represented all the permissions for the list and is maintained for backward compatibility.)
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ObsoleteAttribute("Use the RoleAssignments property instead")] public SPPermissionCollection Permissions { get; }
Property value
Type: Microsoft.SharePoint.SPPermissionCollectionAn SPPermissionCollection object that represents the permissions.
The following table shows the SPRights values that apply to permissions for lists and provides brief descriptions of each.
Value | Description |
|---|---|
AddListItems | Add items to lists, add documents to document libraries, and add Web discussion comments. |
CancelCheckout | Check in a document without saving the current changes (applies only to document libraries). |
DeleteListItems | Delete items from a list, documents from a document library, and Web discussion comments in documents. |
EditListItems | Edit items in lists, edit documents in document libraries, edit Web discussion comments in documents, and customize Web Part Pages in document libraries. |
ManageListPermissions | Grant, deny, or change user permissions for a list. |
ManageLists | Approve content in lists, add or remove columns in a list, and add or remove public views of a list. |
ManagePersonalViews | Create, change, and delete personal views of lists. |
ViewListItems | View items in lists, documents in document libraries, view Web discussion comments, and set up e-mail alerts for list. |