public function modifyConfig(array $newConfig)
    {
        $this->getContext()->invokeApiPost('MODIFY_USER', array_merge(
                $this->loadConfig(),
                Conversion::processUnlimitedOptions($newConfig),
                ['action' => 'customize', 'user' => $this->getUsername()]
        ));
        $this->clearCache();
    }
public function modifyConfig(array $newConfig)
    {
        $this->getContext()->invokeApiPost('MODIFY_USER', array_merge(
                $this->loadConfig(),
                Conversion::processUnlimitedOptions($newConfig),
                ['action' => 'customize', 'user' => $this->getUsername()]
        ));
        $this->clearCache();
    }
public function modifyConfig ( array $ newConfig ) { $ this -> getContext ( ) -> invokeApiPost ( 'MODIFY_USER' , array_merge ( $ this -> loadConfig ( ) , Conversion :: processUnlimitedOptions ( $ newConfig ) , [ 'action' => 'customize' , 'user' => $ this -> getUsername ( ) ] ) ) ; $ this -> clearCache ( ) ; }
Modifies the configuration of the user. For available keys in the array check the documentation on
CMD_API_MODIFY_USER in the linked document.

@param array $newConfig Associative array of values to be modified
@url http://www.directadmin.com/api.html#modify
Modifies the configuration of the user . For available keys in the array check the documentation on CMD_API_MODIFY_USER in the linked document .