Delen via


IIdentityManagementService.ReadIdentities Method (array<IdentityDescriptor , MembershipQuery, ReadIdentityOptions)

Read identities for given descriptors. First try IMS store. If not found, optionally try source like AD.

Note - 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 ( _
    descriptors As IdentityDescriptor(), _
    queryMembership As MembershipQuery, _
    readOptions As ReadIdentityOptions _
) As TeamFoundationIdentity()
TeamFoundationIdentity[] ReadIdentities(
    IdentityDescriptor[] descriptors,
    MembershipQuery queryMembership,
    ReadIdentityOptions readOptions
)
array<TeamFoundationIdentity^>^ ReadIdentities(
    array<IdentityDescriptor^>^ descriptors, 
    MembershipQuery queryMembership, 
    ReadIdentityOptions readOptions
)
abstract ReadIdentities : 
        descriptors:IdentityDescriptor[] * 
        queryMembership:MembershipQuery * 
        readOptions:ReadIdentityOptions -> TeamFoundationIdentity[] 
function ReadIdentities(
    descriptors : IdentityDescriptor[], 
    queryMembership : MembershipQuery, 
    readOptions : ReadIdentityOptions
) : TeamFoundationIdentity[]

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

IIdentityManagementService Interface

ReadIdentities Overload

Microsoft.TeamFoundation.Framework.Client Namespace