# Managed Object - LicenseAssignmentManager

Property of
  LicenseManager
See also
  LicenseAssignmentManagerLicenseAssignment, LicenseManagerLicenseInfo
Since
  vSphere API 4.0

## Managed Object Description

Properties

Name | Type | Description
--- | --- | ---
None

Methods

Methods defined in this Managed Object
QueryAssignedLicenses, RemoveAssignedLicense, UpdateAssignedLicense

# QueryAssignedLicenses

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the LicenseAssignmentManager used to make the method call.
entityId* P | xsd:string | Since vSphere API 4.0

*Need not be set P Required privilege: entityId

Return Value

Type | Description
--- | ---
LicenseAssignmentManagerLicenseAssignment[] |

Faults

Type | Description
--- | ---
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# RemoveAssignedLicense

Required Privileges
  Global.Licenses

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the LicenseAssignmentManager used to make the method call.
entityId P | xsd:string | Since vSphere API 4.0

P Required privilege: entityId

Return Value

Type | Description
--- | ---
None

Faults

Type | Description
--- | ---
LicenseEntityNotFound |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

# UpdateAssignedLicense

Required Privileges
  Global.Licenses

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the LicenseAssignmentManager used to make the method call.
entity P | xsd:string | Since vSphere API 4.0
licenseKey P | xsd:string | Since vSphere API 4.0
entityDisplayName* P | xsd:string | Since vSphere API 4.0

*Need not be set P Required privilege - see tooltip for details

Return Value

Type | Description
--- | ---
LicenseManagerLicenseInfo |

Faults

Type | Description
--- | ---
LicenseEntityNotFound |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None