Megosztás a következőn keresztül:


IIdentityManagementService2.ReadIdentities Method (array<Guid , MembershipQuery, ReadIdentityOptions, IEnumerable<String>, IdentityPropertyScope)

Read identities by Team Foundation ID.

Note that performance will be fastest when no membership information is requested.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Function ReadIdentities ( _
    teamFoundationIds As Guid(), _
    queryMembership As MembershipQuery, _
    readOptions As ReadIdentityOptions, _
    propertyNameFilters As IEnumerable(Of String), _
    propertyScope As IdentityPropertyScope _
) As TeamFoundationIdentity()
TeamFoundationIdentity[] ReadIdentities(
    Guid[] teamFoundationIds,
    MembershipQuery queryMembership,
    ReadIdentityOptions readOptions,
    IEnumerable<string> propertyNameFilters,
    IdentityPropertyScope propertyScope
)
array<TeamFoundationIdentity^>^ ReadIdentities(
    array<Guid>^ teamFoundationIds, 
    MembershipQuery queryMembership, 
    ReadIdentityOptions readOptions, 
    IEnumerable<String^>^ propertyNameFilters, 
    IdentityPropertyScope propertyScope
)
abstract ReadIdentities : 
        teamFoundationIds:Guid[] * 
        queryMembership:MembershipQuery * 
        readOptions:ReadIdentityOptions * 
        propertyNameFilters:IEnumerable<string> * 
        propertyScope:IdentityPropertyScope -> TeamFoundationIdentity[] 
function ReadIdentities(
    teamFoundationIds : Guid[], 
    queryMembership : MembershipQuery, 
    readOptions : ReadIdentityOptions, 
    propertyNameFilters : IEnumerable<String>, 
    propertyScope : IdentityPropertyScope
) : TeamFoundationIdentity[]

Parameters

Return Value

Type: array<Microsoft.TeamFoundation.Framework.Client.TeamFoundationIdentity[]
Array of identities, corresponding 1 to 1 with input array.

.NET Framework Security

See Also

Reference

IIdentityManagementService2 Interface

ReadIdentities Overload

Microsoft.TeamFoundation.Framework.Client Namespace