Another way to hide admin bar is to add
if ( !current_user_can( 'manage_options' ) ) {
add_filter( 'show_admin_bar', '__return_false' , 1000 );
}
The users who don't have privileges to access Settings page, won't be able to see the admin bar.