TeamFoundationLicensingService.AddUserLicense Method
Adds a user to the given license
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.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.TeamFoundationRequestContextThe request context
licenseTypeId
Type: System.GuidThe license
userDescriptor
Type: Microsoft.TeamFoundation.Framework.Server.IdentityDescriptorThe user to add to the given license
.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.