0
有人有腳本會通過Google管理員中的OU並返回每個組和子組的設置嗎?
我正在尋找一種簡單的方法來比較多個OU上的設置。檢索OU設置的腳本
有人有腳本會通過Google管理員中的OU並返回每個組和子組的設置嗎?
我正在尋找一種簡單的方法來比較多個OU上的設置。檢索OU設置的腳本
從這個documentation基於,要檢索的組織單位,使用下列GET
請求和包括在Authorize requests描述的授權。 orgUnitPath
查詢字符串是此組織單位的完整路徑。有關請求和響應屬性,請參閱API Reference。
如果您是管理員檢索組織單位,請使用my_customer
。
GET https://www.googleapis.com/admin/directory/v1/customer/my_customer/orgunits/orgUnitPath
如果您是經銷商檢索轉售客戶的組織單位,請使用customerId。要獲取customerId,請使用Retrieve a user操作。
GET https://www.googleapis.com/admin/directory/v1/customer/customerId/orgunits/orgUnitPath