REST Resource: userLicense
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
리소스: UserLicense
JSON 표현 |
{
"kind": string,
"enabled": boolean,
"state": string,
"editionId": string,
"customerId": string,
"applicationId": string,
"id": string,
"userId": string
} |
필드 |
kind |
string
API 리소스의 유형입니다. 항상 appsmarket#userLicense입니다.
|
enabled |
boolean
도메인 관리자가 이 도메인에 대해 애플리케이션을 활성화했습니다.
|
state |
string
사용자의 라이선스 상태입니다. 다음 중 하나를 선택합니다.
ACTIVE : 사용자가 유효한 라이선스를 보유하고 있으며 애플리케이션을 사용하도록 허용되어야 합니다.
UNLICENSED : 이 사용자의 도메인 관리자가 이 사용자에게 애플리케이션 라이선스를 할당하지 않았습니다.
EXPIRED : 관리자가 이 사용자에게 라이선스를 할당했지만 라이선스가 만료되었습니다.
|
editionId (deprecated) |
string
(지원 중단됨)
|
customerId |
string
사용자의 도메인 이름입니다.
|
applicationId |
string
라이선스 쿼리에 해당하는 애플리케이션의 ID
|
id |
string
사용자 라이선스의 ID입니다.
|
userId |
string
사용자의 이메일 주소입니다.
|
메서드 |
|
지정된 앱을 사용하기 위한 권한에 관한 사용자의 라이선스 상태를 가져옵니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eThe UserLicense resource represents a user's license status for a specific application within a Google Workspace domain.\u003c/p\u003e\n"],["\u003cp\u003eIt provides information about the user's license status, including whether it's active, unlicensed, or expired.\u003c/p\u003e\n"],["\u003cp\u003eThe resource includes details such as the user's email, domain, application ID, and license ID.\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve a user's license information using the \u003ccode\u003eget\u003c/code\u003e method of the UserLicense API.\u003c/p\u003e\n"]]],["The `UserLicense` resource provides information about a user's access to an application. Key data includes `kind` (resource type), `enabled` (domain-level activation), and `state` (user's license status: `ACTIVE`, `UNLICENSED`, `EXPIRED`). Additional fields are `customerId` (domain), `applicationId` (app ID), `id` (license ID), and `userId` (user's email). The `editionId` field is deprecated. The `get` method retrieves a user's licensing status for a specific app.\n"],null,["# REST Resource: userLicense\n\nResource: UserLicense\n---------------------\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"enabled\": boolean, \"state\": string, \"editionId\": string, \"customerId\": string, \"applicationId\": string, \"id\": string, \"userId\": string } ``` |\n\n| Fields ||\n|------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` The type of API resource. This is always appsmarket#userLicense. |\n| `enabled` | `boolean` The domain administrator has activated the application for this domain. |\n| `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. |\n| `editionId` **(deprecated)** | `string` | This item is deprecated! (Deprecated) |\n| `customerId` | `string` The domain name of the user. |\n| `applicationId` | `string` The ID of the application corresponding to the license query. |\n| `id` | `string` The ID of user license. |\n| `userId` | `string` The email address of the user. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------|---------------------------------------------------------------------------|\n| ### [get](/workspace/marketplace/reference/rest/v2/userLicense/get) | Gets the user's licensing status for their permission to use a given app. |"]]