This documentation is archived and is not being maintained.
IAccessControlService::ProvisionServiceIdentity Method (String, String, array<IdentityDescriptor>)
Visual Studio 2013
Provisions a service identity with the given name and password.
Adds the service identity to the given groups.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
ServiceIdentity^ ProvisionServiceIdentity(
String^ serviceIdentityName,
String^ password,
array<IdentityDescriptor^>^ addToGroups
)
Parameters
- serviceIdentityName
- Type: System::String
The service identity name.
- password
- Type: System::String
The service identity password.
- 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: