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.

Reply via email to