$role =
isset( $_REQUEST['role'
] ) ?
$_REQUEST['role'
] : '';
$per_page =
( $this->is_site_users
) ? 'site_users_network_per_page' : 'users_per_page';
$users_per_page =
$this->
get_items_per_page( $per_page );
$paged =
$this->
get_pagenum();
if ( 'none' ===
$role ) { $args = array
( 'number' =>
$users_per_page,
'offset'
=> ( $paged - 1
) *
$users_per_page,
'include' =>
wp_get_users_with_no_role( $this->site_id
),
'search' =>
$usersearch,
'fields' => 'all_with_meta',
);
} else { $args = array
( 'number' =>
$users_per_page,
'offset'
=> ( $paged - 1
) *
$users_per_page,
'role' =>
$role,
'search' =>
$usersearch,
'fields' => 'all_with_meta',
);
}