Partager via


ITeamFoundationIdentityService.ReadIdentities Method (TeamFoundationRequestContext, IdentitySearchFactor, array<String , MembershipQuery, ReadIdentityOptions, IEnumerable<String>)

Reads identities. First try IMS store, then optionally source like AD. The actual source will be indicated by a property of the identity object itself.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Function ReadIdentities ( _
    requestContext As TeamFoundationRequestContext, _
    searchFactor As IdentitySearchFactor, _
    factorValues As String(), _
    queryMembership As MembershipQuery, _
    readOptions As ReadIdentityOptions, _
    propertyNameFilters As IEnumerable(Of String) _
) As TeamFoundationIdentity()()
TeamFoundationIdentity[][] ReadIdentities(
    TeamFoundationRequestContext requestContext,
    IdentitySearchFactor searchFactor,
    string[] factorValues,
    MembershipQuery queryMembership,
    ReadIdentityOptions readOptions,
    IEnumerable<string> propertyNameFilters
)
array<array<TeamFoundationIdentity^>^>^ ReadIdentities(
    TeamFoundationRequestContext^ requestContext, 
    IdentitySearchFactor searchFactor, 
    array<String^>^ factorValues, 
    MembershipQuery queryMembership, 
    ReadIdentityOptions readOptions, 
    IEnumerable<String^>^ propertyNameFilters
)
abstract ReadIdentities : 
        requestContext:TeamFoundationRequestContext * 
        searchFactor:IdentitySearchFactor * 
        factorValues:string[] * 
        queryMembership:MembershipQuery * 
        readOptions:ReadIdentityOptions * 
        propertyNameFilters:IEnumerable<string> -> TeamFoundationIdentity[][] 
function ReadIdentities(
    requestContext : TeamFoundationRequestContext, 
    searchFactor : IdentitySearchFactor, 
    factorValues : String[], 
    queryMembership : MembershipQuery, 
    readOptions : ReadIdentityOptions, 
    propertyNameFilters : IEnumerable<String>
) : TeamFoundationIdentity[][]

Parameters

  • factorValues
    Type: array<System.String[]

    None, direct or expanded membership information.

Return Value

Type: array<array<Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity[][]
Arrays of identities. Each inner array matches corresponding search value.

.NET Framework Security

See Also

Reference

ITeamFoundationIdentityService Interface

ReadIdentities Overload

Microsoft.TeamFoundation.Server.Core Namespace