Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- 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.