Transfer credits from one account to another account, using the username to specify the target account.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Hashtable<String, String> result = tmClient.transferCreditsToUser(3, "targetusername", "targetuserpass"); System.out.println("Transfered 3 Credits (have " + result.get("source_credits_after") + " now), to account targetusername, now with " + result.get("target_credits_after") + "Credits"); |