ModifyUser()
From Rackspace Email & Apps API
This function will modify user data and is most often used for changing passwords.
Input Parameters
Five strings, an integer, and 10 more strings:
Administrative username, Administrative password, Domain name, User ID (the portion of the email address before the @ symbol), Password (leave blank to not change the password-- empty passwords are not possible), Active (int; set this to 1 unless you want to disable account access, when you'd use a 0), First name (leave this and the rest blank if you do not want to change them), Last name, Street address, City, State, Country, Postal code, Telephone, Organization, Department
Return Values
If successful, the return value of the function will be 1.
The total message count and new message count will hold integers as expected.
Consult the Result Code Table for a list of result codes and their meaning.