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)


Public Function GetItemsWithUniquePermissions As Collection(Of SPListItemInfo)
Dim instance As SPList
Dim returnValue As Collection(Of SPListItemInfo)

returnValue = instance.GetItemsWithUniquePermissions()
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.


Exception Condition

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


The current user must be a site collection administrator.

See also


SPList class

SPList members

GetItemsWithUniquePermissions overload

Microsoft.SharePoint namespace