TeamFoundationOnPremLicensingService.AddUserLicense Method
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Sub AddUserLicense ( _
requestContext As TeamFoundationRequestContext, _
licenseTypeId As Guid, _
userDescriptor As IdentityDescriptor _
)
public void AddUserLicense(
TeamFoundationRequestContext requestContext,
Guid licenseTypeId,
IdentityDescriptor userDescriptor
)
public:
void AddUserLicense(
TeamFoundationRequestContext^ requestContext,
Guid licenseTypeId,
IdentityDescriptor^ userDescriptor
)
member AddUserLicense :
requestContext:TeamFoundationRequestContext *
licenseTypeId:Guid *
userDescriptor:IdentityDescriptor -> unit
public function AddUserLicense(
requestContext : TeamFoundationRequestContext,
licenseTypeId : Guid,
userDescriptor : IdentityDescriptor
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- licenseTypeId
Type: System.Guid
- userDescriptor
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor
.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.