Does anyone from Google at least know to whom I can pose this question? Is the User ID from the Users API an App Engine specific thing?
Thanks, j On Jan 18, 8:42 pm, Jason Collins <jason.a.coll...@gmail.com> wrote: > I'm not sure where to pose this question; it sits right on the > interface between App Engine and Apps Provisioning API. > > I have an App Engine app that is using Federated Identity (OpenID) as > its authentication method. The Users API suggests the following: > > "The User object for a valid user can provide a unique ID value for > the user that stays the same even if the user changes her email > address. The user_id() method returns this ID, a str value." > > So, it seems that the user_id is the correct thing to use as the > key_name for my custom User model. > > I'd like to import users from a Google Apps domain, so I am > interacting with the Apps Provisioning API to do so. However, there is > no corresponding user ID on that GData API. The best I have is > username, which is the front portion of the email address. > (reference:http://code.google.com/googleapps/domain/provisioning_API_v2_develope...) > > I'm not sure the right way to associate these two entities. It seems > like I need to combine the Provisioning API's username with the Apps > domain to get an email address and then compare that against App > Engine's user.email(). > > But that smells to me. Is there a correct way to do this? > > Thanks for any help, including a pointer to a better place to pose > this question, > j -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.