GetUserAttributes()
From Rackspace Email & Apps API
This function will return the LDAP-style directory attributes associated with a specified user. A list of possible attributes can be found at AddUserWithLdapAttributes().
Parameters
Four strings, one result string:
Administrative username, Administrative password, Domain name, User ID,
Attributes & value list (each attribute & value are separated with a tab; newlines separate attribute/value pairs)
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.