Method: userLicense.get
Ruft den Lizenzstatus des Nutzers für seine Berechtigung zur Verwendung einer bestimmten App ab.
HTTP-Anfrage
GET https://appsmarket.googleapis.com/appsmarket/v2/userLicense/{applicationId}/{userId}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
applicationId |
string
Anwendungs-ID
|
userId |
string
Nutzer-ID
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von UserLicense
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/appsmarketplace.license
Weitere Informationen finden Sie im Leitfaden zur Autorisierung.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2023-12-01 (UTC).
[null,null,["Zuletzt aktualisiert: 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."]]],["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"]]