Поделиться через


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)

Syntax

'Declaration
Function ProvisionServiceIdentity ( _
    identityInfo As ServiceIdentityInfo, _
    addToGroups As IdentityDescriptor() _
) As ServiceIdentity
ServiceIdentity ProvisionServiceIdentity(
    ServiceIdentityInfo identityInfo,
    IdentityDescriptor[] addToGroups
)
ServiceIdentity^ ProvisionServiceIdentity(
    ServiceIdentityInfo^ identityInfo, 
    array<IdentityDescriptor^>^ addToGroups
)
abstract ProvisionServiceIdentity : 
        identityInfo:ServiceIdentityInfo * 
        addToGroups:IdentityDescriptor[] -> ServiceIdentity
function ProvisionServiceIdentity(
    identityInfo : ServiceIdentityInfo, 
    addToGroups : IdentityDescriptor[]
) : ServiceIdentity

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

IAccessControlService Interface

ProvisionServiceIdentity Overload

Microsoft.TeamFoundation.Framework.Client Namespace