Hi. I am struggling trying to set or update the changePasswordAtNextLogin field on user accounts.
I can create a user sending in this xml: <?xml version="1.0" encoding="UTF-8"?> <atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns:apps="http://schemas.google.com/apps/2006"> <atom:category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/apps/2006#user"/> <apps:login userName="amclean" password="test1234" suspended="false"/> <apps:name familyName="McLean" givenName="Alex"/> <apps:property name="userEmail" value="[email protected]"/> * <apps:property name="changePasswordAtNextLogin" value="true"/>* </atom:entry> which returns: <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:apps='http://schemas.google.com/apps/2006' xmlns:gd='http://schemas.google.com/g/2005'><id>https://apps-apis.google.com/a/feeds/gbp.com/user/2.0/amclean</id><updated>1970-01-01T00:00:00.000Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/apps/2006#user'/><title type='text'>amclean</title><link rel='self' type='application/atom+xml' href='https://apps-apis.google.com/a/feeds/gbp.com/user/2.0/amclean'/><link rel='edit' type='application/atom+xml' href='https://apps-apis.google.com/a/feeds/gbp.com/user/2.0/amclean'/><apps:login userName='amclean' suspended='false' ipWhitelisted='false' admin='false' *changePasswordAtNextLogin='false' *agreedToTerms='false'/><apps:quota limit='25600'/><apps:name familyName='McLean' givenName='Alex'/><gd:feedLink rel='http://schemas.google.com/apps/2006#user.nicknames' href='https://apps-apis.google.com/a/feeds/gbp.com/nickname/2.0?username=amclean'/><gd:feedLink rel='http://schemas.google.com/apps/2006#user.emailLists' href='https://apps-apis.google.com/a/feeds/gbp.com/emailList/2.0?recipient=amclean%40gbp.com'/></entry> and sure enough, a password change is not required at login. Then I can try to update the field sending in this xml: <atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns:apps="http://schemas.google.com/apps/2006"> <apps:property name="changePasswordAtNextLogin" value="true"/> </atom:entry> which returns: <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:apps='http://schemas.google.com/apps/2006'><id>https://apps-apis.google.com/a/feeds/user/2.0/gbp.com/amclean%40gbp.com</id><updated>2011-06-23T11:52:50.502Z</updated><link rel='self' type='application/atom+xml' href='https://apps-apis.google.com/a/feeds/user/2.0/gbp.com/amclean%40gbp.com'/><link rel='edit' type='application/atom+xml' href='https://apps-apis.google.com/a/feeds/user/2.0/gbp.com/amclean%40gbp.com'/><apps:property *name='changePasswordAtNextLogin' value='true'*/></entry> But the user still does not need to enter a new password on login. Thank you for any assistance you can provide. -- You received this message because you are subscribed to the Google Groups "Google Contacts, Shared Contacts and User Profiles 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://code.google.com/apis/contacts/community/forum.html
