GetUserGroupsStr()
From Rackspace Email & Apps API
This function will report the groups and group members in a user's address book. The result string will be as follows:
"mygroup1;firstname1;lastname1;email1 [crlf] mygroup1; firstname2;lastname2;email2 [crlf] mygroup2..."
Input Parameters
Four strings, a result string and a result integer
Administrative username, Administrative password, Domain name, User ID (the portion of the email address before the @ symbol),
Group string (see above for formatting), Result integer
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.