This documentation is archived and is not being maintained.
IIdentityManagementService.ReadIdentities Method (IdentitySearchFactor, String[], MembershipQuery, ReadIdentityOptions)
Visual Studio 2013
Read identities based on search factor. First read from IMS store, and then (optionally) read from source like AD.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
TeamFoundationIdentity[][] ReadIdentities(
IdentitySearchFactor searchFactor,
string[] searchFactorValues,
MembershipQuery queryMembership,
ReadIdentityOptions readOptions
)
Parameters
- searchFactor
- Type: Microsoft.TeamFoundation.Framework.Common.IdentitySearchFactor
how search is specified (by account name, etc.)
- searchFactorValues
- Type: System.String[]
actual search strings (account names, etc.)
- queryMembership
- Type: Microsoft.TeamFoundation.Framework.Common.MembershipQuery
none, direct or expanded membership information
- readOptions
- Type: Microsoft.TeamFoundation.Framework.Common.ReadIdentityOptions
readOptions, such as reading from source
Return Value
Type: Microsoft.TeamFoundation.Framework.Client.TeamFoundationIdentity[][]Arrays of identities. Inner array corresponds 1 to 1 with search factor values
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: