1.5. M2_Group

This is really a wrapper around the M2_User app, handling group related queries.

M2_Group::getMembers($groupID)

Returns an array of users in the group. $groupID can be either group ID or developer key.

M2_Group::getAll()

Returns an array of groups in the system. Each array holds three keys: id, title and developer_key.