Partager via


IAccessControlService.QueryServiceIdentity Method (Guid, Boolean)

Queries the service identity with the given ID.

Optionally includes membership details.

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

Syntax

'Declaration
Function QueryServiceIdentity ( _
    serviceIdentityId As Guid, _
    includeMemberships As Boolean _
) As ServiceIdentity
ServiceIdentity QueryServiceIdentity(
    Guid serviceIdentityId,
    bool includeMemberships
)
ServiceIdentity^ QueryServiceIdentity(
    Guid serviceIdentityId, 
    bool includeMemberships
)
abstract QueryServiceIdentity : 
        serviceIdentityId:Guid * 
        includeMemberships:bool -> ServiceIdentity
function QueryServiceIdentity(
    serviceIdentityId : Guid, 
    includeMemberships : boolean
) : ServiceIdentity

Parameters

  • serviceIdentityId
    Type: System.Guid

    The Team Foundation ID of the service identity.

  • includeMemberships
    Type: System.Boolean

    Whether or not to include membership details.

Return Value

Type: Microsoft.TeamFoundation.Framework.Client.ServiceIdentity
The service identity.

.NET Framework Security

See Also

Reference

IAccessControlService Interface

QueryServiceIdentity Overload

Microsoft.TeamFoundation.Framework.Client Namespace