Method: userLicense.get
Stay organized with collections
Save and categorize content based on your preferences.
Gets the user's licensing status for their permission to use a given app.
HTTP request
GET https://appsmarket.googleapis.com/appsmarket/v2/userLicense/{applicationId}/{userId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
applicationId |
string
Application Id
|
userId |
string
User Id
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of UserLicense
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/appsmarketplace.license
For more information, see the Authorization guide.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-14 UTC.
[null,null,["Last updated 2024-11-14 UTC."],[],["This content describes how to retrieve a user's licensing status for an application. A `GET` request is made to `https://appsmarket.googleapis.com/appsmarket/v2/userLicense/{applicationId}/{userId}`, with the `applicationId` and `userId` specified as path parameters. The request body must be empty. A successful response returns a `UserLicense` object. Authorization requires the `https://www.googleapis.com/auth/appsmarketplace.license` OAuth scope.\n"],null,[]]