AddUserGroupsStr()

From Rackspace Email & Apps API
Jump to: navigation, search

This function will add one or more groups to a user's address book. The contacts must be identified using the "id" element returned by GetUserContactsFull() or GetUserContactsFullStr(). First, the name of the group should be given, then a semi-colon delimited list of id's to put in the group with [crlf] between groups. See below for an example:

   "mygroup1;12;47;92 [crlf] mygroup2;11;33;34 [crlf]..."

Input Parameters

Five strings 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.