src/Keboola/Writer/GoodData/Client.php
public function addUserToProjectAsync($writerId, $pid, $email, $role = 'editor', $queue = 'primary')
    {
        return $this->getCommand('AddUserToProject', [
            'writerId' => $writerId,
            'pid' => $pid,
            'email' => $email,
            'role' => $role,
            'queue' => $queue
        ])->execute();
    }
public function addUserToProjectAsync($writerId, $pid, $email, $role = 'editor', $queue = 'primary')
    {
        return $this->getCommand('AddUserToProject', [
            'writerId' => $writerId,
            'pid' => $pid,
            'email' => $email,
            'role' => $role,
            'queue' => $queue
        ])->execute();
    }
public function addUserToProjectAsync ( $ writerId , $ pid , $ email , $ role = 'editor' , $ queue = 'primary' ) { return $ this -> getCommand ( 'AddUserToProject' , [ 'writerId' => $ writerId , 'pid' => $ pid , 'email' => $ email , 'role' => $ role , 'queue' => $ queue ] ) -> execute ( ) ; }
Add user to project
@param $writerId
@param $pid
@param $email
@param string $role admin|editor|readOnly|dashboardOnly
@param string $queue primary|secondary
@return mixed
Add user to project