共用方式為


AccessControlWebService.QueryServiceIdentitiesById Method

Query the service identities by id

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function QueryServiceIdentitiesById ( _
    serviceIdentityIds As Guid(), _
    includeMemberships As Boolean _
) As ServiceIdentity2012()
[WebMethodAttribute]
public ServiceIdentity2012[] QueryServiceIdentitiesById(
    Guid[] serviceIdentityIds,
    bool includeMemberships
)
[WebMethodAttribute]
public:
array<ServiceIdentity2012^>^ QueryServiceIdentitiesById(
    array<Guid>^ serviceIdentityIds, 
    bool includeMemberships
)
[<WebMethodAttribute>]
member QueryServiceIdentitiesById : 
        serviceIdentityIds:Guid[] * 
        includeMemberships:bool -> ServiceIdentity2012[] 
public function QueryServiceIdentitiesById(
    serviceIdentityIds : Guid[], 
    includeMemberships : boolean
) : ServiceIdentity2012[]

Parameters

  • serviceIdentityIds
    Type: array<System.Guid[]

    The ids of the service identities to query

  • includeMemberships
    Type: System.Boolean

    Whether or not to include membership information

Return Value

Type: array<Microsoft.TeamFoundation.Server.Core.WebServices.ServiceIdentity2012[]
The service identities

.NET Framework Security

See Also

Reference

AccessControlWebService Class

Microsoft.TeamFoundation.Server.Core.WebServices Namespace