# REST Resource: userLicense

## Resource: UserLicense

| JSON representation |
|---|
| ``` { "kind": string, "enabled": boolean, "state": string, "editionId": string, "customerId": string, "applicationId": string, "id": string, "userId": string } ``` |

| Fields ||
|---|---|
| `kind` | `string` The type of API resource. This is always `appsmarket#userLicense`. |
| `enabled` | `boolean` The domain administrator has activated the application for this domain. |
| `state` | `string` The user's licensing status. One of: - `ACTIVE`: The user has a valid license and should be permitted to use the application. - `UNLICENSED`: The administrator of this user's domain never assigned a seat for the application to this user. - `EXPIRED`: The administrator assigned a seat to this user, but the license is expired. |
| `editionId (deprecated)` | `string` > [!WARNING] > This item is deprecated! (Deprecated) |
| `customerId` | `string` The domain name of the user. |
| `applicationId` | `string` The ID of the application corresponding to the license query. |
| `id` | `string` The ID of the user license. |
| `userId` | `string` The email address of the user. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/workspace/marketplace/reference/rest/v2/userLicense/get` | Gets the user's licensing status to determine if they have permission to use a given app. |