Beispiel #1
0
<?php

OCP\User::checkLoggedIn();
OCP\JSON::callCheck();
$limit = 10;
$offset = 0;
$users = OCP\User::getDisplayNames((string) $_GET['search'], $limit, $offset);
OCP\JSON::encodedPrint($users);