src/Native5/Services/Users/DefaultUserManager.php
public function getAllUsers($count=1000, $offset=0, $searchToken=null) {
        global $logger;
        $path    = 'users';
        $request = $this->_remoteServer->get($path);
        if(!empty($searchToken)) {
            $request->getQuery()->set('searchToken', $searchToken);
        }
        $request->getQuery()->set('numUsers', $count);
        $request->getQuery()->set('offset', $offset);
        try {
            $response = $request->send();
        } catch(\Guzzle\Http\Exception\BadResponseException $e) {
            $logger->info($e->getResponse()->getBody('true'), array());
            return false;
        }

        return $response->json();
    }
public function getAllUsers($count=1000, $offset=0, $searchToken=null) {
        global $logger;
        $path    = 'users';
        $request = $this->_remoteServer->get($path);
        if(!empty($searchToken)) {
            $request->getQuery()->set('searchToken', $searchToken);
        }
        $request->getQuery()->set('numUsers', $count);
        $request->getQuery()->set('offset', $offset);
        try {
            $response = $request->send();
        } catch(\Guzzle\Http\Exception\BadResponseException $e) {
            $logger->info($e->getResponse()->getBody('true'), array());
            return false;
        }

        return $response->json();
    }
public function getAllUsers ( $ count = 1000 , $ offset = 0 , $ searchToken = null ) { global $ logger ; $ path = 'users' ; $ request = $ this -> _remoteServer -> get ( $ path ) ; if ( ! empty ( $ searchToken ) ) { $ request -> getQuery ( ) -> set ( 'searchToken' , $ searchToken ) ; } $ request -> getQuery ( ) -> set ( 'numUsers' , $ count ) ; $ request -> getQuery ( ) -> set ( 'offset' , $ offset ) ; try { $ response = $ request -> send ( ) ; } catch ( \ Guzzle \ Http \ Exception \ BadResponseException $ e ) { $ logger -> info ( $ e -> getResponse ( ) -> getBody ( 'true' ) , array ( ) ) ; return false ; } return $ response -> json ( ) ; }
getAllUsers      List all users for an application

@access public
@return array    array of user associative arrays
getAllUsers List all users for an application