Hi Prashant,

thank you very much for your answer. I'll try this the next time I'll visit
my customer.

Apparently another thing has changed. In the previous API (using UserEntry),
the "password" was actually a MD5 or SHA-1 hash of the password.
Using UpdateDomainUser, it seams that the password field is now the password
in clear text.

Regards,
Emmanuel.

2011/3/9 Prashant Tiwari <[email protected]>

> Hi,
>
> The way you update account details using the MDMService has changed
> slightly. You can update passwords and other fields using the
> UpdateDomainUser method, which takes the attributes to be updated in a
> collection of MultiDomainManagementService.MultiDomainUserProperty's. In
> particular, to update the password, you could do something like:
>
>  IDictionary<MultiDomainManagementService.MultiDomainUserProperty, string>
> updates =
>                     new
> Dictionary<MultiDomainManagementService.MultiDomainUserProperty, string>();
> updates[MultiDomainManagementService.MultiDomainUserProperty.Password] =
> newPassword;
> entry = service.UpdateDomainUser(primaryDomain, testUserEmail, updates);
>
> Please take a look at the following classes from our .NET library for more
> details:
>
> 1.
> http://code.google.com/p/google-gdata/source/browse/trunk/clients/cs/src/gapps/multidomainmanagementservice.cs
> 2.
> http://code.google.com/p/google-gdata/source/browse/trunk/clients/cs/samples/gapps_multidomain_sample/multidomaindemo.cs
>
> -Prashant
>
> --
> 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.
>

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

Reply via email to