php – Show WordPress users on the template page


So I want to show all registered users on one template page.

what I have now in my template is:

$member_type = (isset($member_type) ? $member_type : 'seb');
$post_type = $member_type == 'seb' ? array('companies', 'members') : 'companies';
$args = array(
    'posts_per_page' => -1,
    'post_type' => $post_type,
    'meta_query' => array(
        array(
            'key' => 'member_type',
            'value' => $member_type,
            'compare' => 'LIKE',
        )
    ),
    'orderby' => 'title',
    'order' => 'ASC'
);

if ($member_type == 'seb') {
    $args('meta_query')('relation') = 'OR';

    array_push( $args('meta_query'), array(
        'key' => 'company',
        'value' => '',
        'compare' => '='
    ) );
}

I probably need some script in my functions.php too but I'm not really sure what