How to hide a views result item based on role? I have a View based on taxonomy vocabularies and terms. The view only contains 2 fields, taxonomy vocabulary and taxonomy term and the output is HTML list.

How can I hide one of the terms in one of the vocabs in the view result based on the role of the logged in user?

UPDATE:
With the help from No Sssweat below, this is how the final snippet looks like:

function mytheme_preprocess_views_view_fields($vars){
  global $user;
  if ($vars['view']-&gt;name == "view name" &amp;&amp; strip_tags($vars['fields']{rendered_entity}-&gt;raw) == tid &amp;&amp; in_array('user role', array_values($user-&gt;roles))){
    $vars['fields']{rendered_entity}-&gt;content = NULL;
  }
}


... in case anyone else need something like this snippet.
Assuming you added Taxonomy term: Name as the field, which you want to hide.

Add this to your theme's template.php file.

function mytheme_preprocess_views_view_fields($vars){

  $global user;

  if ($vars['view']-&gt;name == "name_of_view" &amp;&amp; strip_tags($vars['fields']['name']-&gt;content) == "Term Name" &amp;&amp; in_array('role name', array_values($user-&gt;roles))){
    $vars['fields']['name']-&gt;content = NULL;
  }

}



change mytheme to your actual  theme name.
change name_of_view to your view name.
change Term Name to the name of the term. 
change Role Name to the specific role name.