Excellent, thanks Tony,

Frank

2009/2/13 Tony (Google) <[email protected]>

>
> Hi Frank,
>
> It will be something like:
>
> ...
> user_entry = service.RetrieveUser(user_name)
> user_entry.login.password = "newpassword"
> service.UpdateUser(user_name, user_entry)
> ...
>
> Thanks,
>
> --Tony
>
> On Feb 12, 5:52 am, biffo <[email protected]> wrote:
> > "#!/usr/bin/python
> > import gdata.apps.service
> > service = gdata.apps.service.AppsService(email='[email protected]',
> > domain='mydomain.com', password='password')
> > service.ProgrammaticLogin()
> > user_entry = service.CreateUser('username', 'family_name',
> > 'given_name', 'password') "
> >
> > Above you give an example of how to create a new user.  Would you have
> > an example of how to change a user's password.  I see this code
> > service.UpdateUser(user_name, user_entry) but I'm unsure how to use
> > it.
> >
> > Any assistance would be greatly appreciated,
> >
> > Frank
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps 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-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to