Q:

How to authenticate user using Google.GData.Apps of .net?

I am using google provisioning api on my website. I created a domain on google and some users. Now I want to authenticate them using AppsService class. 
AppsService service = new AppsService("domain", "admin username", "admin password");
UserEntry user = service.RetrieveUser("username");

These two lines I found everywhere. But I want to authenticate user with his username and password.

A:

Mayank, if you want to authenticate user with his personal username and password, please try Google Oauth2.0 , not the above code,which is 2-legged oauth 1.0.  The code you posted is for whole domain authentication.  For personal user, please use OAuth2.0, through which a login webpage is poped up when you login, and afterwards you will get the tokens for further operations.  

