java - How cloudant client can connect to shared database? -
i have used cloudant client connect database code as:
public void setconfig(){ this.client=new cloudantclient(this.username, this.username, this.password); this.database=this.client.database(this.dbname, true); }
it runs in own data in ibm cloudant.
i want use cloudant client connect shared data. instance, other account named "user1" shared database "user1db" me full permission. when declare this.dbname="user1/user1db or this.dbname="shared/user1/user1db ";
. doesn't work.
so how can connect cloudant client shared database.
Comments
Post a Comment