SPContentDatabase.GetSitesFromSids 方法
返回到特定的安全标识符 (Sid) 与相对应的网站集。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Function GetSitesFromSids ( _
UserSids As List(Of Byte()), _
includeInactiveUsers As Boolean _
) As SortedList(Of Guid, SortedList(Of Integer, Byte()))
用法
Dim instance As SPContentDatabase
Dim UserSids As List(Of Byte())
Dim includeInactiveUsers As Boolean
Dim returnValue As SortedList(Of Guid, SortedList(Of Integer, Byte()))
returnValue = instance.GetSitesFromSids(UserSids, _
includeInactiveUsers)
public SortedList<Guid, SortedList<int, byte[]>> GetSitesFromSids(
List<byte[]> UserSids,
bool includeInactiveUsers
)
参数
UserSids
类型:System.Collections.Generic.List<[]>用户的安全标识符 (Sid) 的集合。
includeInactiveUsers
类型:System.Booleantrue包含用户处于非活动状态 ;否则为false。
返回值
类型:System.Collections.Generic.SortedList<Guid, SortedList<Int32, []>>
网站集的键/值对的键进行排序。