Hi Jerry, Sorry for the late reply,
After more investigation I found out that it is not straightforward way to create calendar on the behalf of other users, but here is what you could do: - create the calendar on the owncalendar feed of the admin user - update the acl of the new calendar to add the user(s) as owner I attached a shell script that demonstrate how to do it: [email protected] PASSWORD=youradminpassword [email protected] bash calendar_create.sh Hope that helps. On Tue, Apr 19, 2011 at 6:14 AM, mini4 <[email protected]> wrote: > Hi Johan, > > Thanks for your reply. I've already tried that, but didn't get the expected > result. > > Let's say [email protected] is a domain admin, and [email protected] is a > domain user. > > If I authed as [email protected], and use > "http://www.google.com/calendar/feeds/default/owncalendars/full" as the > calendar feed url. I am able to create a new calendar for admin's account. > > but if I use > "http://www.google.com/calendar/feeds/[email protected]/private/full", Google > API won't create a new calendar for user, instead, it will create a new > event under [email protected]'s default calendar. > > I guess that Google API treats "[email protected]" as a Calendar ID, not the > user account. > > Did I do anything wrong? Any help will be appreciated. > > Jerry > > -- > 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://code.google.com/apis/calendar/community/forum.html > -- Johan Euphrosine (proppy) Developer Programs Engineer Google Developer Relations -- 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://code.google.com/apis/calendar/community/forum.html
calendar_create.sh
Description: Bourne shell script
