Hello,
I used to reset password using the following code:
[...]
UserEntry entry;
entry = service.RetrieveUser(userName);
entry.Login.Password = hash;
[...]
Now I'm switching to the multidomain apis:
service = new MultiDomainManagementService(_Domain, applicationName);
service.setUserCredentials(_AdministratorEmail,
_AdministratorPassword);
[...]
AppsExtendedEntry entry;
string email = userName;
string[] table = email.Split('@');
string login= table[0];
string domain = table[1];
entry = service.RetrieveDomainUser(domain,login);
Here, I'm stucked because the "AppsExtendedEntry" doesn't have the
object "Login" in which I can set the new password.
Could you explain me how to reset a user password using the
MultiDomainManagement API?
Indeed, I'm willing to authenticate only to the root domain and be
able to reset passwords in subdomains with this credential.
Thanks in advance.
--
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.