This documentation is archived and is not being maintained.

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)

ServiceIdentity^ QueryServiceIdentity(
	Guid serviceIdentityId, 
	bool includeMemberships
)

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.

Show: