This documentation is archived and is not being maintained.

IAccessControlService::ProvisionServiceIdentity Method (ServiceIdentityInfo, array<IdentityDescriptor>)

Provisions a service identity with the given information.

Adds the service identity to the given groups.

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

ServiceIdentity^ ProvisionServiceIdentity(
	ServiceIdentityInfo^ identityInfo, 
	array<IdentityDescriptor^>^ addToGroups
)

Parameters

identityInfo
Type: Microsoft.TeamFoundation.Framework.Client::ServiceIdentityInfo

The service identity information.

addToGroups
Type: array<Microsoft.TeamFoundation.Framework.Client::IdentityDescriptor>

The groups to add the provisioned service identity to.

Return Value

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

Show: