ModifyUserWithLdapAttributesString()
From Rackspace Email & Apps API
This function will modify a mailbox and set it's mailbox LDAP attributes.
Input Parameters
Five strings, one integer, and one more string:
Administrative username, Administrative password, Domain name, Surname (last name of user-- required), Password, Active (int; 1=active, 0=inactive), Attributes string ("givenname John [crlf] o MyCompany", ...) (tab delimited between key/value pairs and CRLF delimited between records)
Return Values
If successful, the return value of the function will be 1.
Consult the Result Code Table for a list of result codes and their meaning.