Hi, here is a tool that does what you want. It can change the password of any user belonging to any primary/sub domain and stores the administrator password in a secure way: http://www.bcpsoft.fr/download/GoogleChangePassword.zip
1. Edit Configuration.xml and fill your domain, administrator email and password. 2. Launch ProtectConfiguration.exe /p This will encrypt the password found in Configuration.xml and generate a file called Configuration.xml.enc: rename it Configuration.xml. ex : ChangeMe : 4MPzf4WBF0vDqKKvGFXQ8nxM1df/DJ6AjBZLy1d5KYk= 3. You can now change the password of a user: GoogleChangePassword.exe /user:[email protected]/password:complex@1 4. To modify the administrator password, run ProtectConfiguration.exe /u This will generate a file called Configuration.xml.dec. Rename it Configuration.xml No support is provided for this tool. It was written for testing the multidomain apis. Regards. Emmanuel Dreux. 2011/5/23 Ale Jacquet <[email protected]> > Hello Michael, > > Is it possible to use OAUTH for updates proposes? i thought Oauth was only > for reading informations > Att, > > Alexandre Jacquet > > > > On 23 May 2011 15:10, Michael Manoochehri <[email protected]> wrote: > >> Hi Peter: >> >> Yes, as Emmanuel mentioned, it's possible to use the Provisioning API to >> create a script that will update user passwords via script. >> >> I suggest using 3-legged OAuth as your authentication method for the >> Provisioning API. You can use the OAuth Playground >> tool<http://googlecodesamples.com/oauth_playground/>to go through the steps >> of gaining an access token for one of your >> administrator accounts, using "https://apps-apis.google.com/a/feeds/" as >> the scope, and HMAC SHA-1 as the signature method. Once you receive the >> access token, you can use that to make calls to the Provisioning API script >> to provide password changes on behalf of your users. >> >> Thanks, >> - Michael >> >> -- >> 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. >> > > -- > 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. > -- 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.
