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 Changes in the 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)
The following table shows the SPRights values that apply to permissions for lists and provides brief descriptions of each.
Add items to lists, add documents to document libraries, and add Web discussion comments.
Check in a document without saving the current changes (applies only to document libraries).
Delete items from a list, documents from a document library, and Web discussion comments in documents.
Edit items in lists, edit documents in document libraries, edit Web discussion comments in documents, and customize Web Part Pages in document libraries.
Grant, deny, or change user permissions for a list.
Approve content in lists, add or remove columns in a list, and add or remove public views of a list.
Create, change, and delete personal views of lists.
View items in lists, documents in document libraries, view Web discussion comments, and set up e-mail alerts for list.