user73777: If i call the bitcoin-cli importprivkey multiple times, does it import the private key to the same user or to different users? In the bitcoin-cli importprivkey, it does not specify to which user account is the key importing to.

user63569: You can set account like that
bitcoin-cli importprivkey "myPrivKey" "Account" true

if you want to import multi private keys do it like that
bitcoin-cli importprivkey "myPrivKey" "Account" false
bitcoin-cli importprivkey "myPrivKey" "Account" false
bitcoin-cli importprivkey "myPrivKey" "Account" false
bitcoin-cli importprivkey "myPrivKey" "Account" true

So you don't rescan the entire local block database each time, but the last time.
to import it to default account leave it empty 
bitcoin-cli importprivkey "myPrivKey" "" true

Also please consider stopping using accounts since it will be removed in 0.16 version.

73777: <p>If i call the bitcoin-cli importprivkey multiple times, does it import the private key to the same user or to different users? In the bitcoin-cli importprivkey, it does not specify to which user account is the key importing to.</p>
 63569: <p>You can set account like that</p>

<pre><code>bitcoin-cli importprivkey "myPrivKey" "Account" true
</code></pre>

<p>if you want to import multi private keys do it like that</p>

<pre><code>bitcoin-cli importprivkey "myPrivKey" "Account" false
bitcoin-cli importprivkey "myPrivKey" "Account" false
bitcoin-cli importprivkey "myPrivKey" "Account" false
bitcoin-cli importprivkey "myPrivKey" "Account" true
</code></pre>

<p>So you don't rescan the entire local block database each time, but the last time.</p>

<p>to import it to default account leave it empty </p>

<pre><code>bitcoin-cli importprivkey "myPrivKey" "" true
</code></pre>

<p>Also please consider stopping using accounts since it will be removed in 0.16 version.</p>
