Admin SDK Enterprise 授權管理員服務
Admin SDK Enterprise License Manager 服務可讓您在 Apps Script 中使用 Admin SDK Enterprise License Manager API。這個 API 可讓網域管理員指派、更新、擷取及刪除使用者授權。
參考資料
如需這項服務的詳細資訊,請參閱 Admin SDK Enterprise License Manager API 的參考文件。和 Apps Script 中的所有進階服務一樣,Admin SDK Enterprise License Manager 服務會使用與公開 API 相同的物件、方法和參數。詳情請參閱「如何決定方法簽章」。
如要回報問題或尋求其他支援服務,請參閱 Admin SDK Enterprise License Manager 支援指南。
程式碼範例
下列程式碼範例使用 API 的 第 1 版。
取得網域的授權指派清單
這個範例會為網域中的使用者記錄授權指派項目,包括產品 ID 和 SKU ID。請注意,您可以使用頁面符記存取完整的結果清單。
插入使用者的授權指派
本範例示範如何針對特定產品 ID 和 SKU ID 組合,為使用者插入授權指派。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-21 (世界標準時間)。
[null,null,["上次更新時間:2024-12-21 (世界標準時間)。"],[[["The Admin SDK Enterprise License Manager service enables domain admins to manage user licenses within Apps Script using the Admin SDK Enterprise License Manager API."],["It allows for assigning, updating, retrieving, and deleting user licenses for various products."],["This is an advanced service that requires enabling before use and utilizes the same structure as the public API."],["Provided sample code demonstrates how to retrieve and assign licenses using the API."]]],[]]