Share via


IAccessControlService.QueryServiceIdentities Method (array<String , Boolean)

Queries the service identities with the given names.

Optionally includes membership details.

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

Syntax

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

Parameters

  • serviceIdentityNames
    Type: array<System.String[]

    The service identity names.

  • includeMemberships
    Type: System.Boolean

    Whether or not to include membership details.

Return Value

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

.NET Framework Security

See Also

Reference

IAccessControlService Interface

QueryServiceIdentities Overload

Microsoft.TeamFoundation.Framework.Client Namespace