<if condition="$bbuserinfo['userid'] == '2'"> the line to hide from all except userid 2 </if>
<if condition="$bbuserinfo['usergroupid'] == '6'"> the line to hide from all but usergroupid 6 </if>