Export (0) Print
Expand All
Expand Minimize

SPList.Permissions Property

Windows SharePoint Services 3

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.)

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[ObsoleteAttribute("Use the RoleAssignments property instead")]
public SPPermissionCollection Permissions { get; }

Property Value

Type: Microsoft.SharePoint.SPPermissionCollection
An 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.

Community Additions

ADD
Show:
© 2014 Microsoft