<? $filter = array("GROUPS_ID" => Array(4)); $rsUsers = CUser::GetList(($by="ID"), ($order="desc"), $filter); while($rsUsers->NavNext(true, "f_")) { echo "[".$f_ID."] (".$f_LOGIN.") ".$f_NAME." ".$f_LAST_NAME."<br>"; } ?>
while ($u = $rsUser->GetNext()) { echo "[".$u['ID'].'] ' . ' ('.$u['LOGIN'].') ' .$u['NAME'] . ' ' . $u['LAST_NAME'] . '<br />'; }