public function getUsers($type = 'AllUsers', $newFormat = 1)
    {
        $params['type'] = $type;
        $params['newFormat'] = $newFormat;

        return $this->call('getUsers', $params);
    }
public function getUsers($type = 'AllUsers', $newFormat = 1)
    {
        $params['type'] = $type;
        $params['newFormat'] = $newFormat;

        return $this->call('getUsers', $params);
    }
public function getUsers ( $ type = 'AllUsers' , $ newFormat = 1 ) { $ params [ 'type' ] = $ type ; $ params [ 'newFormat' ] = $ newFormat ; return $ this -> call ( 'getUsers' , $ params ) ; }
Implements getUsers API method.

@param string  $type       type of the user to return. Possible values:
AllUsers - all users (both active and inactive)
ActiveUsers - only active users
DeactiveUsers - only deactivated users
AdminUsers - all users with admin privileges
ActiveConfirmedAdmins - users with admin privileges that are confirmed
@param int $newFormat  1 (default) - exclude fields with null values in the response
2 - include fields with null values in the response

@return Response The Response object
Implements getUsers API method .