This documentation is archived and is not being maintained.

IIdentityManagementService.ReadIdentities Method (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)

TeamFoundationIdentity[] ReadIdentities(
	IdentityDescriptor[] descriptors,
	MembershipQuery queryMembership,
	ReadIdentityOptions readOptions
)

Parameters

descriptors
Type: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor[]

descriptors (descriptor is identity type + identifier)

queryMembership
Type: Microsoft.TeamFoundation.Framework.Common.MembershipQuery

none, direct or expanded membership information

readOptions
Type: Microsoft.TeamFoundation.Framework.Common.ReadIdentityOptions

read options, such as reading from source

Return Value

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

Show: