IIdentityManagementService.ReadIdentities Method (IdentitySearchFactor, String, MembershipQuery, ReadIdentityOptions)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Read identities based on search factor. First read from IMS store, and then (optionally) read from source like AD.
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
TeamFoundationIdentity ReadIdentities( IdentitySearchFactor searchFactor, string searchFactorValues, MembershipQuery queryMembership, ReadIdentityOptions readOptions )
- Type: IdentitySearchFactor
how search is specified (by account name, etc.)
- Type: System.String
actual search strings (account names, etc.)
- Type: MembershipQuery
none, direct or expanded membership information
- Type: ReadIdentityOptions
readOptions, such as reading from source
Return ValueType: 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.