SPList.GetItemsWithUniquePermissions - Méthode
Returns a collection of SPListItemInfo objects for items that have unique permissions.
Espace de noms : Microsoft.SharePoint
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Function GetItemsWithUniquePermissions As Collection(Of SPListItemInfo)
'Utilisation
Dim instance As SPList
Dim returnValue As Collection(Of SPListItemInfo)
returnValue = instance.GetItemsWithUniquePermissions()
public Collection<SPListItemInfo> GetItemsWithUniquePermissions()
Valeur renvoyée
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. |
Remarques
The current user must be a site collection administrator.