Contents

parentGroups()

Returns an array containing a group’s parents—that is, the groups that a group belongs to.

Declaration

func parentGroups() -> [Any]!

Discussion

If this group doesn’t belong to any groups, this method returns an empty array.

See Also

Managing subgroups