You're right! You immediately catched the point. Silly me, I have to proceed in another way. May thanks!
Marco On Sat, Mar 24, 2012 at 7:08 PM, Claudio Cherubino <[email protected]>wrote: > Hi Marco, > > Are you using Single Sign-On in your domain? > If so, passwords are managed by your Identity Provider and settings the > force change password flag on the Google side does nothing. > > Claudio > > > On Sat, Mar 24, 2012 at 5:27 AM, Marco Zanini <[email protected]> wrote: > >> Hi to all, I'm trying to use UserSettings class from gdata API to force >> the user to change password at next login, but even if the execution goes >> on without errors, it seems there are no effects. This is a snipplet of my >> code: >> >> userService = new UserService(StaticResources.APPLICATION_NAME); >> >> userService.setUserCredentials(StaticResources.ADMIN, >>>> StaticResources.ADMIN_PASSWORD); >>> >>> URL retrieveUrl = new URL(USER_MANAGEMENT_URL + "/" + username); >> >> UserEntry userEntry = userService.getEntry(retrieveUrl, UserEntry.class); >> userEntry.getLogin().setChangePasswordAtNextLogin(true); >> >> URL updateUrl = new URL(USER_MANAGEMENT_URL + "/" + username); >> >> return userService.update(updateUrl, userEntry); >> >> >> This return no errors but no changes on GApps are made. What happened? >> Must the application name be registered with Google? >> >> I'm using Google Apps for business. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Apps Domain Information and Management APIs" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/google-apps-mgmt-apis/-/aWPks8jqTkEJ. >> 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.
