Megosztás a következőn keresztül:


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

  • searchFactorValues
    Type: array<System.String[]

    actual search strings (account names, etc.)

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

See Also

Reference

IIdentityManagementService Interface

ReadIdentities Overload

Microsoft.TeamFoundation.Framework.Client Namespace