You should be able to do a 3-legged OAuth setup and then store the access
token. Its a little more effort to set up but you won't need the password
for future accesses. I haven't tested this but I see no reason why it
shouldn't work. If I get time I'll test it from the office today.

On Fri, Mar 4, 2011 at 6:33 AM, Jason K <[email protected]> wrote:

> I was about to post a similar question regarding the Provisioning API.  I
> was hoping to retrieve a list of all domain users without having to use a
> domain admin's username and password. 2-Legged oAuth would be a better
> solution for my organization.
>
>
> http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_reference_dotnet.html#Authenticating_To_Your_Domain
> <http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_reference_dotnet.html#Authenticating_To_Your_Domain>
> http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_reference_dotnet.html#Retrieve_All_Users_in_Domain_Example
>
> Jason
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Apps Domain Information and Management APIs" group.
> 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-apps-mgmt-apis?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management APIs" group.
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-apps-mgmt-apis?hl=en.

Reply via email to