Dela via


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

Queries service identities by name

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

Syntax

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

Parameters

  • serviceIdentityNames
    Type: array<System.String[]

    The service identity names 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