$userdata =& datamanager_init('User', $vbulletin, ERRTYPE_ARRAY);$userdata->set('usergroupid', $new_group);$userdata->save();