Dela via


TeamFoundationAccessControlService.QueryServiceIdentities Method (TeamFoundationRequestContext, array<Guid , Boolean)

Queries service identities by ID

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function QueryServiceIdentities ( _
    requestContext As TeamFoundationRequestContext, _
    serviceIdentityIds As Guid(), _
    includeMemberships As Boolean _
) As ServiceIdentity()
public ServiceIdentity[] QueryServiceIdentities(
    TeamFoundationRequestContext requestContext,
    Guid[] serviceIdentityIds,
    bool includeMemberships
)
public:
array<ServiceIdentity^>^ QueryServiceIdentities(
    TeamFoundationRequestContext^ requestContext, 
    array<Guid>^ serviceIdentityIds, 
    bool includeMemberships
)
member QueryServiceIdentities : 
        requestContext:TeamFoundationRequestContext * 
        serviceIdentityIds:Guid[] * 
        includeMemberships:bool -> ServiceIdentity[] 
public function QueryServiceIdentities(
    requestContext : TeamFoundationRequestContext, 
    serviceIdentityIds : Guid[], 
    includeMemberships : boolean
) : ServiceIdentity[]

Parameters

  • serviceIdentityIds
    Type: array<System.Guid[]

    The ID of the service identities to query

  • includeMemberships
    Type: System.Boolean

    Whether or not to include membership information

Return Value

Type: array<Microsoft.TeamFoundation.Framework.Server.ServiceIdentity[]
The service identities

.NET Framework Security

See Also

Reference

TeamFoundationAccessControlService Class

QueryServiceIdentities Overload

Microsoft.TeamFoundation.Framework.Server Namespace