//$sGroups = COption::GetOptionString("main", "new_user_registration_def_group", "");
$sGroups=array(intval($_POST['GROUP_ID'])); CUser::SetUserGroup($ID, $sGroups);