This documentation is archived and is not being maintained.
IAccessControlService::ProvisionServiceIdentity Method (ServiceIdentityInfo, array<IdentityDescriptor>)
Visual Studio 2013
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::ServiceIdentityThe provisioned service identity.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: