First implementation of User->getUsers API function