AccessControlWebService.ProvisionServiceIdentity Method
Namespace: Microsoft.TeamFoundation.Framework.Server.Alm.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
- identityInfo
Type: Microsoft.TeamFoundation.Framework.Server.ServiceIdentityInfo
- addToGroups
Type: array<Microsoft.TeamFoundation.Framework.Server.IdentityDescriptor[]
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.ServiceIdentity
.NET Framework Security
- 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.
See Also
Reference
Microsoft.TeamFoundation.Framework.Server.Alm.WebServices Namespace