Share via


AccessControlWebService.ProvisionServiceIdentity Method

Provision a service identity with the given info. Optionally adds the identity to given groups.

Namespace:  Microsoft.TeamFoundation.Server.Core.WebServices
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function ProvisionServiceIdentity ( _
    identityInfo As ServiceIdentityInfo, _
    addToGroups As IdentityDescriptor() _
) As ServiceIdentity2012
[WebMethodAttribute]
public ServiceIdentity2012 ProvisionServiceIdentity(
    ServiceIdentityInfo identityInfo,
    IdentityDescriptor[] addToGroups
)
[WebMethodAttribute]
public:
ServiceIdentity2012^ ProvisionServiceIdentity(
    ServiceIdentityInfo^ identityInfo, 
    array<IdentityDescriptor^>^ addToGroups
)
[<WebMethodAttribute>]
member ProvisionServiceIdentity : 
        identityInfo:ServiceIdentityInfo * 
        addToGroups:IdentityDescriptor[] -> ServiceIdentity2012
public function ProvisionServiceIdentity(
    identityInfo : ServiceIdentityInfo, 
    addToGroups : IdentityDescriptor[]
) : ServiceIdentity2012

Parameters

Return Value

Type: Microsoft.TeamFoundation.Server.Core.WebServices.ServiceIdentity2012

.NET Framework Security

See Also

Reference

AccessControlWebService Class

Microsoft.TeamFoundation.Server.Core.WebServices Namespace