On 10/31/08, Alex B. <[EMAIL PROTECTED]> wrote:
>
>  There's something that we do in Exchange Calendar where I work, and
>  I'd like to duplicate this with google calendar, but I don't see that
>  it's possible from what's in the documentation.
>
>  On our intranet we have a web page that show's corporate events, like
>  a speech or something, and there's a button labeled, "add this event
>  to my calendar."  When the user clicks that button, we use the
>  Exchange administer's account to add the event to the user's calendar.
>
>  I see, from google's documentation, how I can add an event to a user's
>  calendar if I know the user's password.  But what I don't see is how
>  to add an event using the domain administer's account only.
>
>  We'd be doing this from a hosted domain, not with a gmail.com email
>  address.
>
>  Thanks for any advice/insight
>
>  Alex

Hi Alex,
This isn't something that's documented very well at the moment, I'm afraid.

To answer your question: If you authenticate as the domain
administrator, you can access any user's calendar by using the feed
URL:

    http://www.google.com/calendar/feeds/<user email here>/private/full

For group calendars, you'll need to know the calendar's address
beforehand, but otherwise uses the same format.

At the moment it's not possible to look up the group calendars owned
by a user, but there is an issue open to track this here:

    http://code.google.com/p/gdata-issues/issues/detail?id=772

Alternatively, another option is to just add a button that
auto-creates the event on the user's calendar. If you go with this
option, there's no need to authenticate as the domain administrator,
since the add request is actually performed by the user's browser, so
their existing auth cookie can be reused (or the user can be prompted
to login if that cookie doesn't exist).

To do this, you can use the Event Publisher tool here:

    http://www.google.com/googlecalendar/event_publisher_guide.html#individual

Or just create a URL for the user to click, following these guidelines:

    http://www.google.com/googlecalendar/event_publisher_guide_detail.html

-- 
Trevor Johns

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to