SPWeb.GetWebsAndListsWithUniquePermissions 方法
Retrieves a collection of Webs and Lists that either have unique permissions themselves or have items with unique permissions.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Function GetWebsAndListsWithUniquePermissions As Collection(Of SPWebListInfo)
用法
Dim instance As SPWeb
Dim returnValue As Collection(Of SPWebListInfo)
returnValue = instance.GetWebsAndListsWithUniquePermissions()
public Collection<SPWebListInfo> GetWebsAndListsWithUniquePermissions()
返回值
类型: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.