'ReferenceError with AdminGroupsSettings
I want to create a very simple script
function myFunction() {
var group = AdminGroupsSettings.newGroups();
Logger.log(group)
}
But I have the error ReferenceError: AdminGroupsSettings is not defined
.
However, my Admin SDK is well added from Services.
The function is a simple copy from the Update a group's settings example
Solution 1:[1]
The Groups Setting API
seems to be different from the Admin SDK API
.
I'm wondering why you use Admin ADK API instead of the Groups Setting API?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | taro |