public function getUsersInGroup() { $users = []; $this->send(OCISchemaUser::UserGetListInGroupRequest($this->getOrigEnterprise(), $this->getOrigGroup())); if ($response = $this->getResponse()) { if (!array_key_exists('row', $response->userTable)) { return $users; } foreach ($response->userTable['row'] as $item) { $users[] = new User($item['col'][0], $this); } } return $users; }