共用方式為


ITeamFoundationIdentityService.ReadIdentities 方法 (TeamFoundationRequestContext, IdentitySearchFactor, array<String[], MembershipQuery, ReadIdentityOptions, IEnumerable<String>, IdentityPropertyScope)

讀取識別。 第一個嘗試 IMS 存放區,來源選擇性地偏好 AD。 實際來源會識別物件的屬性表示。

命名空間:  Microsoft.TeamFoundation.Server.Core
組件:  Microsoft.TeamFoundation.Server.Core (在 Microsoft.TeamFoundation.Server.Core.dll 中)

語法

'宣告
Function ReadIdentities ( _
    requestContext As TeamFoundationRequestContext, _
    searchFactor As IdentitySearchFactor, _
    factorValues As String(), _
    queryMembership As MembershipQuery, _
    readOptions As ReadIdentityOptions, _
    propertyNameFilters As IEnumerable(Of String), _
    propertyScope As IdentityPropertyScope _
) As TeamFoundationIdentity()()
TeamFoundationIdentity[][] ReadIdentities(
    TeamFoundationRequestContext requestContext,
    IdentitySearchFactor searchFactor,
    string[] factorValues,
    MembershipQuery queryMembership,
    ReadIdentityOptions readOptions,
    IEnumerable<string> propertyNameFilters,
    IdentityPropertyScope propertyScope
)

參數

  • factorValues
    類型:array<System.String[]
    無,直接或擴充成員資格資訊。

傳回值

類型:array<array<Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity[][]
一些識別。每個內建陣列符合對應的搜尋值。

.NET Framework 安全性

請參閱

參考

ITeamFoundationIdentityService 介面

ReadIdentities 多載

Microsoft.TeamFoundation.Server.Core 命名空間