OCA\Richdocuments\AppConfig::getUserValue PHP Method

getUserValue() public method

Get a value by key for a user
public getUserValue ( string $userId, string $key ) : string
$userId string
$key string
return string
    public function getUserValue($userId, $key)
    {
        $defaultValue = null;
        if (array_key_exists($key, $this->defaults)) {
            $defaultValue = $this->defaults[$key];
        }
        return $this->config->getUserValue($userId, $this->appName, $key, $defaultValue);
    }