Delen via


IdentityManagementWebService.ReadIdentitiesById Method

Read identities by Team Foundation Id. Note - performs FASTEST when no membership information is requested.

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

Syntax

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

Parameters

  • queryMembership
    Type: System.Int32

    none, direct or expanded membership information

Return Value

Type: array<Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity[]
Array of identities, corresponding 1 to 1 with input array.

.NET Framework Security

See Also

Reference

IdentityManagementWebService Class

Microsoft.TeamFoundation.Server.Core.WebServices Namespace