IIdentityManagementService.ReadIdentities Method (IdentitySearchFactor, array<String , MembershipQuery, ReadIdentityOptions)
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)
Syntax
'Declaration
Function ReadIdentities ( _
searchFactor As IdentitySearchFactor, _
searchFactorValues As String(), _
queryMembership As MembershipQuery, _
readOptions As ReadIdentityOptions _
) As TeamFoundationIdentity()()
TeamFoundationIdentity[][] ReadIdentities(
IdentitySearchFactor searchFactor,
string[] searchFactorValues,
MembershipQuery queryMembership,
ReadIdentityOptions readOptions
)
array<array<TeamFoundationIdentity^>^>^ ReadIdentities(
IdentitySearchFactor searchFactor,
array<String^>^ searchFactorValues,
MembershipQuery queryMembership,
ReadIdentityOptions readOptions
)
abstract ReadIdentities :
searchFactor:IdentitySearchFactor *
searchFactorValues:string[] *
queryMembership:MembershipQuery *
readOptions:ReadIdentityOptions -> TeamFoundationIdentity[][]
function ReadIdentities(
searchFactor : IdentitySearchFactor,
searchFactorValues : String[],
queryMembership : MembershipQuery,
readOptions : ReadIdentityOptions
) : TeamFoundationIdentity[][]
Parameters
searchFactor
Type: Microsoft.TeamFoundation.Framework.Common.IdentitySearchFactorhow search is specified (by account name, etc.)
searchFactorValues
Type: array<System.String[]actual search strings (account names, etc.)
queryMembership
Type: Microsoft.TeamFoundation.Framework.Common.MembershipQuerynone, direct or expanded membership information
readOptions
Type: Microsoft.TeamFoundation.Framework.Common.ReadIdentityOptionsreadOptions, such as reading from source
Return Value
Type: array<array<Microsoft.TeamFoundation.Framework.Client.TeamFoundationIdentity[][]
Arrays of identities. Inner array corresponds 1 to 1 with search factor values
.NET Framework Security
- 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.