This isn't GWT-specific. I've only done it when running on App Engine, and 
there it should be fairly simple. The server-side code can ask the user to 
log in, get the email address, and then pass it to the browser.
https://developers.google.com/appengine/docs/java/users/

Without App Engine, I think OAuth 2.0 is supposed to be the way to do it, 
but I have no experience with this:
https://developers.google.com/accounts/docs/OAuth2

- Brian

On Wednesday, October 10, 2012 11:35:03 AM UTC-7, BRL wrote:
>
> Hello All,
>
> I am new to GWT.  My company uses google apps.  I have created a widget 
> that will go on an internal google site and that interfaces with our ticket 
> entry system to post tickets.  All of this is working just fine and I have 
> had a lot of fun learning how to do it.
>
> Here is what I would like to do: when someone comes to the google site 
> where my widget will live, capture their google username (they will most 
> likely be logged into google apps) so I can populate the name field with 
> their name.
>
> I have not had much luck googling on this, does anyone have any 
> suggestions on where I might get started?  Any links to articles or 
> tutorials, or even an explanation of how this works (use small words!) will 
> be appreciated.
>
> Thanks,
> BRL
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/rVVMc5rxaTEJ.
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-web-toolkit?hl=en.

Reply via email to