How to add the "user role field" in View showing users I created a view showing users. Then I have a list of users. I need to add a field to show the user role. I clicked add field but I don't see this field. Do I need to add a relationship to have this field available? 

Update: I have Aggregation enabled.
So you need to add 2 field into your view User uid(exclude from display) and Custom text, next go to your template.php and do next

//implement hook_preprocess_views_view_fields
function YOURTHEME_preprocess_views_view_fields(&amp;$vars) {
    $view = $vars['view'];
    $fields = $vars['fields'];

    if ($view-&gt;name == 'usr1') { // change on your view name
        $results = $view-&gt;result;
        $roles = array();
        foreach ($results as $row) {
            $user = user_load($row-&gt;uid);
            $roles = implode(', ',$user-&gt;roles ); //get all user roles
            //check if user name from field equal to current user in array
            if ($fields['name']-&gt;raw === $row-&gt;users_name) { 
                $fields['nothing']-&gt;content = $roles;//put that roles to custom text field
            }
        }
    }
}


THIS CODE NEED IMPROVEMENTS, cuz it iteracts on every field of your view, so you can work on this :D.