SPWeb.GetWebsAndListsWithUniquePermissions Method
SharePoint 2010
Retrieves a collection of Webs and Lists that either have unique permissions themselves or have items with unique permissions.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.CollectionOfSPTypesReturnType)]
public Collection<SPWebListInfo> GetWebsAndListsWithUniquePermissions()
Return Value
Type: System.Collections.ObjectModel.Collection<SPWebListInfo>A Collection<T> with the items having unique permissions.