5 dakikanız var mı?
Kısa bir online ankete katılarak Google Workspace Marketplace dokümanlarını iyileştirmemize yardımcı olun.
Method: userLicense.get
Kullanıcının belirli bir uygulamayı kullanma izniyle ilgili lisanslama durumunu alır.
HTTP isteği
GET https://appsmarket.googleapis.com/appsmarket/v2/userLicense/{applicationId}/{userId}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
applicationId |
string
Uygulama Kimliği
|
userId |
string
Kullanıcı Kimliği
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt metni
Başarılıysa yanıt metni, UserLicense
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/appsmarketplace.license
Daha fazla bilgi için Yetkilendirme kılavuzuna göz atın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2023-12-01 UTC.
[null,null,["Son güncelleme tarihi: 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"]]