Java Api password help

I am using the Java api to connect to my Mikrotik router. I have searched all over and tried many different ways to try to get this to work but i have no luck. Anyone know how to send a command to the api to change a users password? Thanks in advance!