Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
How select users between 100 and 200 user ID's?
Or select users which ID less then 200?
$args = array (
'query' => array(
'key' => 'ID',
'value' => '200',
'compare' => '<=',
$user_query = new WP_User_Query( $args );
Here's one way using the include with a range from 100 to 200:
$user_query = new WP_User_Query( [ 'include' => range( 100,200 ) ] );
SELECT * from wp_users WHERE ID >= 2000 AND ID <= 11000
Required, but never shown