updateMemberInfo

Updates a specific piece of a member or instance’s metadata.

int updateMemberInfo(char instanceID[256], char memberID[256],
                     char key[64], char value[256], void** params, 
                     void*** customReturn, char error[256])
Variable Function Description
char instanceID[256] Input The ID of the instance containing the member.
char memberID[256] Input The ID of the member whose metadata is being set. If set as all spaces, the metadata for the instance should be set.
char key[64] Input The key for the value to be set.
char value[256] Input The value to set.
void** params Input Pointer to an array of custom parameters (see Handling custom parameters and return values).
void*** customReturn Output Used to reference an array of custom return values (see Handling custom parameters and return values).
char error[256] Output If an error occurs, this should be filled with a description of the error.

updateMemberInfo attempts to update a member's metadata (specified by the given key) with the given value.