The User object contains just the email address of the user. Just send it to the client in a String and null if the user is not logged in. Then you can just check with (username != null) if the user is logged in.
Uwe On Aug 27, 6:25 pm, androidDeveloper <stepmas...@googlemail.com> wrote: > Hi all, > > as written in > threadhttp://groups.google.com/group/google-appengine-java/browse_thread/th... > > it is not possible to use the Google Account class > (com.google.appengine.api.users.User) on GWT-client site. > A solution would be to create a DTO to transfer the data to the > client. > > My Question: > Is it allowed to transfer the data from Google account objects to > client, particularly the userId? > > I try to implement some kind of checkSession method, which brings a > Google account to client site if a user is logged in. The Google > account is then stored on client site in a member variable for further > use. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.