5 分でよろしいですか?
簡単なオンライン アンケートにご回答いただき、Google Workspace Marketplace のドキュメントの改善にご協力ください。
Method: userLicense.get
特定のアプリの使用許可に対するユーザーのライセンス ステータスを取得します。
HTTP リクエスト
GET https://appsmarket.googleapis.com/appsmarket/v2/userLicense/{applicationId}/{userId}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
applicationId |
string
アプリケーション ID
|
userId |
string
ユーザー ID
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には UserLicense
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/appsmarketplace.license
詳細については、承認ガイドをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2023-12-01 UTC。
[null,null,["最終更新日 2023-12-01 UTC。"],[[["Retrieves a user's licensing status for a specific application to determine their usage permission."],["Utilizes a `GET` request with the application ID and user ID specified in the URL path."],["Requires authorization with the `https://www.googleapis.com/auth/appsmarketplace.license` scope."],["Returns a `UserLicense` object containing the user's license information upon successful request."]]],[]]