/** * Function to search users * @param $phrase * @return string */ public function searchUsers($phrase){ $parameters = new ListUsers(); $parameters->filter = "*" . $phrase . "*"; $parameters->maxItemLimit = -1; return $this->serviceStub->listUsers($parameters)->return; }
/** * Function to get a list of users * * @return username list */ public function listUsers() { $parameters = new ListUsers(); $parameters->filter = "*"; $parameters->filter = -1; return $this->serviceStub->listUsers($parameters); }