$user = new CUser;
$arFields = Array(
"NAME" => $USER_NAME,
"LAST_NAME" => $USER_LAST_NAME,
"EMAIL" => $USER_EMAIL,
"LOGIN" => $USER_LOGIN,
"LID" => "s1",
"ACTIVE" => "Y",
"GROUP_ID" => array(10),
"PASSWORD" => $USER_PASSWORD,
"CONFIRM_PASSWORD" => $USER_CONFIRM_PASSWORD
); |