AI-generated Key Takeaways
-
The UserLicense resource represents a user's license status for a specific application within a Google Workspace domain.
-
It provides information about the user's license status, including whether it's active, unlicensed, or expired.
-
The resource includes details such as the user's email, domain, application ID, and license ID.
-
You can retrieve a user's license information using the
get
method of the UserLicense API.
Resource: UserLicense
JSON representation |
---|
{ "kind": string, "enabled": boolean, "state": string, "editionId": string, "customerId": string, "applicationId": string, "id": string, "userId": string } |
Fields | |
---|---|
kind |
The type of API resource. This is always appsmarket#userLicense. |
enabled |
The domain administrator has activated the application for this domain. |
state |
The user's licensing status. One of:
|
editionId |
(Deprecated) |
customerId |
The domain name of the user. |
applicationId |
The ID of the application corresponding to the license query. |
id |
The ID of user license. |
userId |
The email address of the user. |
Methods |
|
---|---|
|
Gets the user's licensing status for their permission to use a given app. |