group.GetChildren
Overview¶
In the "Server Script", get a collection of "Group Object" that index "Child Group" from the "Group Object".
Syntax¶
Return Value¶
Returns a collection of "Group Object".
Usage Examples¶
In the following example, the group IDs of child groups belonging to the group with group ID 1 are output to the log.
JavaScript¶
let group = groups.Get(1);
for (let member of group.GetChildren()) {
context.Log(`${member.GroupId}`);
}