SPList.GetItemsWithUniquePermissions Method

Returns a collection of SPListItemInfo objects for items that have unique permissions.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online

public Collection<SPListItemInfo> GetItemsWithUniquePermissions()

Return Value

Type: System.Collections.ObjectModel.Collection<SPListItemInfo>
A collection of SPListItemInfo objects with basic information about the list items. If no list items have unique permissions, an empty collection is returned.


The number of objects to return exceeds the value of the MaxItemsPerThrottledOperation property.

The current user must be a site collection administrator.