Delen via


IdentityManagementWebService.ReadIdentities Method

Read identities. First try IMS store, then optionally source like AD. The actual source will be indicated by a property of the identity object itself.

Namespace:  Microsoft.TeamFoundation.Server.Core.WebServices
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function ReadIdentities ( _
    searchFactor As Integer, _
    factorValues As String(), _
    queryMembership As Integer, _
    options As Integer, _
    features As Integer, _
    propertyNameFilters As String(), _
    propertyScope As Integer _
) As TeamFoundationIdentity()()
[WebMethodAttribute]
public TeamFoundationIdentity[][] ReadIdentities(
    int searchFactor,
    string[] factorValues,
    int queryMembership,
    int options,
    int features,
    string[] propertyNameFilters,
    int propertyScope
)
[WebMethodAttribute]
public:
array<array<TeamFoundationIdentity^>^>^ ReadIdentities(
    int searchFactor, 
    array<String^>^ factorValues, 
    int queryMembership, 
    int options, 
    int features, 
    array<String^>^ propertyNameFilters, 
    int propertyScope
)
[<WebMethodAttribute>]
member ReadIdentities : 
        searchFactor:int * 
        factorValues:string[] * 
        queryMembership:int * 
        options:int * 
        features:int * 
        propertyNameFilters:string[] * 
        propertyScope:int -> TeamFoundationIdentity[][] 
public function ReadIdentities(
    searchFactor : int, 
    factorValues : String[], 
    queryMembership : int, 
    options : int, 
    features : int, 
    propertyNameFilters : String[], 
    propertyScope : int
) : TeamFoundationIdentity[][]

Parameters

  • searchFactor
    Type: System.Int32

    how identities are specified

  • factorValues
    Type: array<System.String[]

    factorValues (account name, etc.)

  • queryMembership
    Type: System.Int32

    none, direct or expanded membership information

Return Value

Type: array<array<Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity[][]
Array of identities.

.NET Framework Security

See Also

Reference

IdentityManagementWebService Class

Microsoft.TeamFoundation.Server.Core.WebServices Namespace