次の方法で共有


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)

Syntax

'Declaration
Public Function GetItemsWithUniquePermissions As Collection(Of SPListItemInfo)
'Usage
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.

Exceptions

Exception Condition
SPQueryThrottledException

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

Remarks

The current user must be a site collection administrator.

See also

Reference

SPList class

SPList members

GetItemsWithUniquePermissions overload

Microsoft.SharePoint namespace