---
title: VppLicense
framework: devicemanagement
role: symbol
role_heading: Object
path: devicemanagement/vpplicense
---

# VppLicense

A license for a product in the purchase program.

## Declaration

```data
object VppLicense
```

## Properties

adamId: The unique identifier for a product in the iTunes Store. adamIdStr: The unique identifier for a product in the iTunes Store. clientUserIdStr: The client user ID for the user to whom this license is assigned. isIrrevocable: If true, once a license is assigned for specified adamId, the license may not be revoked or disassociated. itsIdHash: The hash of the iTunes Store ID for the user to whom this license is assigned. The itsIdHash field is included only when the user is associated with an iTunes Store account. licenseIdStr: The identifier of the assigned license. pricingParam: The quality of a product in the iTunes Store. Possible values are: STDQ: Standard quality PLUS: High quality productTypeId: The type of a product. Possible values are: 7 = macOS software 8 = iOS or macOS app from the App Store 10 = Book productTypeName: The name of the product type. serialNumber: The device serial number to which this license is assigned. status: The current state of the license. Possible values are: Associated Available Refunded userId: The unique identifier assigned by the VPP for the user to whom this license is assigned. userIdStr: The string representation of the unique identifier assigned by the VPP for the user to whom this license is assigned.

## See Also

### Objects and data types

- [VppAsset](devicemanagement/vppasset.md)
- [VppAssignment](devicemanagement/vppassignment.md)
- [VppAssociation](devicemanagement/vppassociation.md)
- [VppUser](devicemanagement/vppuser.md)
- [VppLocation](devicemanagement/vpplocation.md)
- [VppErrorCode](devicemanagement/vpperrorcode.md)
