user1282751
user1282751

Reputation: 23

How to get gmail username into asp.net page

Hello folks when someone login to gmail account and in another tab he open google. Then you must have seen gmail username displays at the top right corner of the google. I want the same functionality into my asp.net website. I have searched a lot but could not find any answer. please help if anybody have any idea about it.

Upvotes: 1

Views: 683

Answers (1)

Code0987
Code0987

Reputation: 2618

If you want to retrieve the user's details of currently logged in google user, then use OpenAuth/OpenID. For .Net, a library is available to do all this task, DotNetOpenAuth. It also contains exact sample of what you want to achieve. Also look here.

Upvotes: 1

Related Questions