Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have an intranet application, written in asp.net C#,

users enter the intranet, using their domain, Username and password, we use Google applications and Gmail for our company's email, I have a button that allow user connect to Gmail URL, Users use same username and password for their Gmail account, how can I write a code to auto Login to Gmail when their click this button, without asking the username and password.
Posted
Comments
wizardzz 4-Dec-12 10:31am    
What part of this are you stuck on?
Richard MacCutchan 4-Dec-12 11:41am    
The question is reasonably clear.
wizardzz 4-Dec-12 11:44am    
You're right, it's a gimmecode, not actual help situation.
Richard MacCutchan 4-Dec-12 12:02pm    
I disagree; OP is asking how to do something, not for source code.
wizardzz 4-Dec-12 12:03pm    
Richard, did you, uh, did you read the title of the post?

1 solution

I have done a little research (Google) and I suspect that you cannot do this since Gmail requires the full username and password from the user. When you login to Windows it merely encodes your password and compares it with the stored value, but the clear text version is not kept anywhere so there is no way to find it later in order to get to Gmail.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900