Hello everyone. I'm trying to update a username as the documentation says in http://code.google.com/intl/en/googleapps/domain/gdata_provisioning_api_v2.0_reference_php.html#Update_Account_Example
$service = new Zend_Gdata_Gapps($httpClient, $domain); $user = $service->retrieveUser($txtUsername); $user = $service->updateUser($txtUser, $txtNewUsername); But Throws an exception "Expected response code 200, got 400 Content is not allowed in prolog." I can do a similar task changing the Given Name with success: $service = new Zend_Gdata_Gapps($httpClient, $domain); $user = $service->retrieveUser($txtUsername); $user->name->givenName = $txtGivenName; I couldn't find an answer so far. I've downloaded the Zend Framework's last version (1.11) but it doesn't work. Am I doing something wrong? or is there a problem with the client library? Thanks in advance for your help. -- You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
