ILicensingService.AssignAccountEntitlement Method
Namespace: Microsoft.VisualStudio.Services.Licensing
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Function AssignAccountEntitlement ( _
requestContext As TeamFoundationRequestContext, _
userId As Guid, _
license As License _
) As AccountEntitlement
AccountEntitlement AssignAccountEntitlement(
TeamFoundationRequestContext requestContext,
Guid userId,
License license
)
AccountEntitlement^ AssignAccountEntitlement(
TeamFoundationRequestContext^ requestContext,
Guid userId,
License^ license
)
abstract AssignAccountEntitlement :
requestContext:TeamFoundationRequestContext *
userId:Guid *
license:License -> AccountEntitlement
function AssignAccountEntitlement(
requestContext : TeamFoundationRequestContext,
userId : Guid,
license : License
) : AccountEntitlement
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- userId
Type: System.Guid
- license
Type: Microsoft.VisualStudio.Services.Licensing.License
Return Value
Type: Microsoft.VisualStudio.Services.Licensing.AccountEntitlement
.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.