क्या आपके पास पांच मिनट हैं?
एक छोटे से ऑनलाइन सर्वे में हिस्सा लेकर, Google Workspace Marketplace के दस्तावेज़ों को बेहतर बनाने में हमारी मदद करें.
Method: userLicense.get
यह, दिए गए ऐप्लिकेशन का इस्तेमाल करने की अनुमति पाने के लिए, उपयोगकर्ता के लाइसेंस की स्थिति का पता लगाता है.
एचटीटीपी अनुरोध
GET https://appsmarket.googleapis.com/appsmarket/v2/userLicense/{applicationId}/{userId}
यूआरएल, gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
applicationId |
string
ऐप्लिकेशन आईडी
|
userId |
string
User ID
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में UserLicense
का एक इंस्टेंस शामिल किया जाता है.
अनुमति देने के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/appsmarketplace.license
ज़्यादा जानकारी के लिए, अनुमति देने से जुड़ी गाइड देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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."]]],["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"]]