Share via


AccessControlWebService.ProvisionServiceIdentity Method

Provision a service identity with the given information.

Optionally adds the identity to given groups.

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

Syntax

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

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.ServiceIdentity

.NET Framework Security

See Also

Reference

AccessControlWebService Class

Microsoft.TeamFoundation.Framework.Server.WebServices Namespace