Expand Minimize
0 out of 1 rated this helpful - Rate this topic

SPWeb.GetWebsAndListsWithUniquePermissions method

Retrieves a collection of Webs and Lists that either have unique permissions themselves or have items with unique permissions.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.CollectionOfSPTypesReturnType)]
public Collection<SPWebListInfo> GetWebsAndListsWithUniquePermissions()

Return value

Type: System.Collections.ObjectModel.Collection<SPWebListInfo>
A Collection<T> with the items having unique permissions.

Onyl site collection admins can perform this action because it may return information on subwebs that even current web admins do not have permission to see.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.