Method: Jamf::Computer#computer_groups

Defined in:
lib/jamf/api/classic/api_objects/computer.rb

#computer_groupsArray

Returns the JSS groups to which thismachine belongs (smart and static).

Returns:

  • (Array)

    the JSS groups to which thismachine belongs (smart and static)



1009
1010
1011
# File 'lib/jamf/api/classic/api_objects/computer.rb', line 1009

def computer_groups
  @groups_accounts[:computer_group_memberships]
end