Very simple example:

# retrieve
user_entry=apps_service.RetrieveUser(username)
# set new username
user_entry.login.user_name=new_username
# if new frist and last:
user_entry.name.given_name=new_givenname
user_entry.name.family_name=new_familyname
# update
apps_service.UpdateUser(username, user_entry)

On Feb 6, 5:13 pm, Kua <[email protected]> wrote:
> Does anyone have any sample python code that they could post that renames
> an account?  In particular, I am interested in
> seeing how the UserEntry object needs to be modified for a sucessful rename.
>
> Thanks, Kua

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