共用方式為


IIdentityManagementService.ReadIdentities 方法 (IdentitySearchFactor, array<String[], MembershipQuery, ReadIdentityOptions)

讀取根據搜尋因素的識別。 第一個從 IMS 存放區讀取, (選擇性地) 從像 AD 的來源會讀取。

命名空間:  Microsoft.TeamFoundation.Framework.Client
組件:  Microsoft.TeamFoundation.Client (在 Microsoft.TeamFoundation.Client.dll 中)

語法

'宣告
Function ReadIdentities ( _
    searchFactor As IdentitySearchFactor, _
    searchFactorValues As String(), _
    queryMembership As MembershipQuery, _
    readOptions As ReadIdentityOptions _
) As TeamFoundationIdentity()()
TeamFoundationIdentity[][] ReadIdentities(
    IdentitySearchFactor searchFactor,
    string[] searchFactorValues,
    MembershipQuery queryMembership,
    ReadIdentityOptions readOptions
)

參數

  • searchFactorValues
    類型:array<System.String[]
    實際搜尋字串 (帳戶名稱等等)

傳回值

類型:array<array<Microsoft.TeamFoundation.Framework.Client.TeamFoundationIdentity[][]
一些識別。內部陣列一對一對應與搜尋因素值

.NET Framework 安全性

請參閱

參考

IIdentityManagementService 介面

ReadIdentities 多載

Microsoft.TeamFoundation.Framework.Client 命名空間