How can I determine a user_id based on an email address in App Engine?
The newest App Engine SDK (1.2.1) has an API call to compute an ID for a user account based on his email address. (The ID remains the same even if the user changes his address later.) See this question about unique, opaque user IDs for information. However, I have a problem with this API call. user_id() works for logged-in users (i.e. from users.get_current_user) , but it returns None for objects created by the users.User() constructor.** What gives? For example, using the excellent App Engine Console , this code does not work . >>> import google.appengine.api.users >>> me = google.appengine