Hey Alex

This is a kind of inconsistent behavior.Authentication usually works
fine the first time I retrieve all users from a domain.However,
sometimes there is a problem using the authentication twice ,the
webException is giving me authentication failure(unauthorized). I'm
still using the same code with the difference that now i set the
Domain property to  mydomain.com




On Nov 7, 10:22 pm, "Alex (Google)" <[EMAIL PROTECTED]> wrote:
> Oops, my bad.  I should have recognized the signature on the
> constructor.
>
> Can you catch and log the AppsException?  Also catch and log
> WebException.
>
> http://code.google.com/apis/apps/gdata_provisioning_api_v2.0_referenc...
>
> -alex
>
> On Nov 7, 9:04 pm, Prometheus18 <[EMAIL PROTECTED]> wrote:
>
> > Sorry I  did not tell you that I'm using .net client to do it
>
> > On Nov 7, 4:36 pm, "Alex (Google)" <[EMAIL PROTECTED]> wrote:
>
> > > Between the first and second lines, insert:
>
> > > service.ProgrammaticLogin()
>
> > > If you still get errors, can you post the error that you are getting?
>
> > > Also see the section on handling errors raised by the AppsService:
>
> > >http://code.google.com/apis/apps/gdata_provisioning_api_v2.0_referenc...
>
> > > -alex
>
> > > On Nov 6, 7:26 pm, Prometheus18 <[EMAIL PROTECTED]> wrote:
>
> > > > Hi guys
>
> > > > By any chance anyone knows how to get all the users that belong to a
> > > > different domain(other than Google).
>
> > > > I'm trying the following but is giving me a error.
>
> > > > AppsService service = new AppsService(domain, userName, password);
> > > > //
> > > > sampledomain.com,[EMAIL PROTECTED],********
> > > > service.RetrieveAllUsers()
>
> > > > This small section is giving an error. I don't know if I'm applying
> > > > the parameters incorrectly.Please if anyone have any ideas please let
> > > > me know
>
> > > > Share the knowledge


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps 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-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to