I guess this should be unique (otherwise API will be broken!!). Maybe it's generated from the unique openID identifier.
I can surely state that for Google Apps users the ID is the same using direct Google Apps login (application is "restricted to a Google Apps domain you own") and OpenID. I store IDs in objects in the datastore and a comparison of the two (using Datastore Viewer in admin console) showed it's the same (in different apps by the way). Regards Lorenzo On Oct 7, 9:34 am, fhtino <[email protected]> wrote: > Hello, > > I'm testing the SDK builtin support for openid. I've a question. > > From documentation: "The User object exposes a unique user ID that is > guaranteed to be stable for the lifetime of the user's account, > ...."http://code.google.com/appengine/docs/java/users/overview.html#Users_... > > My code: > UserService userService = UserServiceFactory.getUserService(); > User user = userService.getCurrentUser(); > String id = user.getUserId(); > > Is it valid also for OpenID authenticated user? Does Google guarantee > it as unique? If yes, how Google can do that? I'm curious. :) > > fabrizio -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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-appengine?hl=en.
