def members=(new_members)
      raise UnsupportedError, "Smart group members can't be changed." if @is_smart
      raise InvalidDataError, 'Arg must be an array of names and/or ids' unless new_members.is_a? Array
      ok_members = []
      new_members.each do |m|
        ok_members << check_member(m)
      end

      ok_members.uniq!

      # make sure we've actually changed...
      return if members.map { |m| m[:id] }.sort == ok_members.map { |m| m[:id] }.sort
      @members = ok_members
      @need_to_update = true
    end
def members=(new_members)
      raise UnsupportedError, "Smart group members can't be changed." if @is_smart
      raise InvalidDataError, 'Arg must be an array of names and/or ids' unless new_members.is_a? Array
      ok_members = []
      new_members.each do |m|
        ok_members << check_member(m)
      end

      ok_members.uniq!

      # make sure we've actually changed...
      return if members.map { |m| m[:id] }.sort == ok_members.map { |m| m[:id] }.sort
      @members = ok_members
      @need_to_update = true
    end
Replace all @members with an array of uniq device identfiers (names, ids, serial numbers, etc)
 E.g: [ 'lambic', 1233, '2341', 'monkey']

 They must all be in the JSS or an error is raised
 before doing anything. See {#check_member}

 @param new_members[Array<Integer,String>] the new group members

 @return [void]