global $USER; if($USER->IsAdmin()){ .... }
global $USER; $userGroup = $USER->GetParam("GROUPS"); if(in_array("ID группы",$userGroup){ ... }