GetUserContactsSimple()

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

This function will return the 'id', 'lastname', 'firstname', 'nickname', 'email', and 'favorite' status (1=favorite/frequent contact,0=not) of all contacts set up on a mailbox.

Input Parameters

Four strings and a result multi-dimensional array:

   Administrative username,
   Administrative password,
   Domain name,
   User ID (the portion of the email address before the @ symbol),
   Contact list array (as in: array[0]["firstname"]="Robert", array[1]["firstname"]="Janice")

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.