Dear Patricia, Google recently release OAuth for Google Apps. This allows you to use a consumer secret to impersonate another user so you do not need their password just their username.
You can check out http://www.google.com/support/a/bin/answer.py?hl=en&answer=61017 Yours sincerely David Ruwoldt On Thu, Nov 20, 2008 at 2:10 AM, Patricia Goldweic < [EMAIL PROTECTED]> wrote: > > Hi Tony, > You're right that I should have posted in the other groups. I'm > particularly > interested in Docs, Calendars and Sites. > With respect to your second question, the desire is to do that > programmatically. Having this happen automatically when somebody clicks on > a > link makes it much more user friendly than coming up in advance with the > list of users. Anyway, I think I'll be posting to the docs api group. > Thanks, > -Patricia > [EMAIL PROTECTED] > > > > -----Original Message----- > > From: [email protected] > > [mailto:[EMAIL PROTECTED] On Behalf Of Tony (Google) > > Sent: Wednesday, November 19, 2008 3:01 AM > > To: Google Apps APIs > > Subject: [google-apps-apis] Re: A question about login as > > somebody else > > > > > > Hi Patricia, > > > > Can you provide us a more concrete example on what kind of > > content are you referring to? Do you mean a user's calendar? > > If that's the case, I suggest you to post your question to > > the Calendar Data API forum: > > > > http://groups.google.com/group/google-calendar-help-dataapi > > > > Also, if the user agrees to give access to certain users to > > see her content, can't you just give those users access in > > advance and include that piece of content in their pages? > > > > Thanks, > > > > --Tony > > > > On Nov 18, 11:37 am, "Patricia Goldweic" <[EMAIL PROTECTED]> > > wrote: > > > Hi, > > > It would be very convenient if I could get the following behavior > > > working in my web app: when somebody clicks on a particular link, I > > > assign them permission to see a certain piece of content > > that belongs > > > to somebody else (somebody who wants this to happen, of course). > > > Unfortunately, from what I understand, it appears that I can > > > programmatically assign permission over a piece of content > > ONLY if I > > > log in as the owner of that content, but then, it follows > > that we can > > > never get the desired behavior to work (since for it to make sense, > > > the web application user is logged in as him/herself, and > > we want to > > > give him/her permission to somebody else's content). > > > Am I correct? (I hope not :-)) In other words, given > > current apis and > > > restrictions, is there any way to achieve the desired > > behavior? (e.g. > > > I assume ClientLogin is out of the question here, right?) Thanks in > > > advance, -Patricia > > > > > > Patricia Goldweic > > > [EMAIL PROTECTED] > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
