"; $groups[] = ""; foreach ($userGroups as $group) { $groupUsers = OC_Group::usersInGroup($group); foreach ($groupUsers as $user) { if ($user != $self) { $users[] = ""; } } $groups[] = ""; } $users[] = ""; $groups[] = ""; $users = array_merge($users, $groups); OCP\JSON::encodedPrint($users); ?>