The protocol guide is quite clear on this:

http://code.google.com/apis/calendar/data/2.0/developers_guide_protocol.html#CreatingSingle

"The server will insert author information based on the user that submits
the request (i.e. the user whose authentication token accompanies the
request)."

If you don't want the Author of the event to be the admin user, then don't
author the event as the admin user.

Ray


On Thu, Nov 3, 2011 at 11:48 AM, Hocsinh <[email protected]> wrote:

> 1. Authenticated using admin user
> 2. Create appointment for user1
> 3. Retrieve newly created appointment from user1's calendar
> 4. Author field contains Admin user info (name, email) instead of user1
> info (name, email) <--- THIS IS THE ISSUE
>
> I am using .net calendar API
>
> <?xml version="1.0" encoding="utf-8"?>
> <entry xmlns="http://www.w3.org/2005/Atom"; xmlns:gCal="
> http://schemas.google.com/gCal/2005"; xmlns:gd="
> http://schemas.google.com/g/2005";>
>   <gd:comments>
>     <gd:feedLink href="
> https://www.google.com/calendar/feeds/user1%40abc.com/private/full/uqja2138i52m13lqoc05p8p0qc/comments";
> />
>   </gd:comments>
>   <gd:eventStatus value="http://schemas.google.com/g/2005#event.confirmed";
> />
>   <gd:who rel="http://schemas.google.com/g/2005#event.organizer";
> valueString="[email protected]" email="[email protected]" />
>   <gd:when startTime="2011-11-04T14:00:00-04:00"
> endTime="2011-11-04T14:30:00-04:00">
>     <gd:reminder minutes="15" method="alert" />
>   </gd:when>
>   <gd:transparency value="http://schemas.google.com/g/2005#event.opaque";
> />
>   <gd:visibility value="http://schemas.google.com/g/2005#event.default"; />
>   <gCal:anyoneCanAddSelf value="false" />
>   <gCal:guestsCanInviteOthers value="true" />
>   <gCal:guestsCanModify value="false" />
>   <gCal:guestsCanSeeGuests value="true" />
>   <gCal:sequence value="0" />
>   <gCal:uid value="[email protected]" />
>   <title type="text">321fb123/insurance call</title>
>   <id>
> http://www.google.com/calendar/feeds/user1%40abc.com/private/full/uqja2138i52m13lqoc05p8p0qc
> </id>
>   <link href="
> https://www.google.com/calendar/event?eid=dXFqYTIxMzhpNTJtMTNscW9jMDVwOHAwcWMgdm5ndXllbkBjb25uZWN0d2lzZS5jb20";
> rel="alternate" type="text/html" title="alternate" />
>   <link href="
> https://www.google.com/calendar/feeds/user1%40abc.com/private/full/uqja2138i52m13lqoc05p8p0qc";
> rel="self" type="application/atom+xml" />
>   <link href="
> https://www.google.com/calendar/feeds/user1%40abc.com/private/full/uqja2138i52m13lqoc05p8p0qc/63456023484";
> rel="edit" type="application/atom+xml" />
>   <author>
>     <name>[email protected]</name>
>     <email>[email protected]</email>
>   </author>
>   <category term="http://schemas.google.com/g/2005#event"; scheme="
> http://schemas.google.com/g/2005#kind"; />
>   <content type="text">testing</content>
>   <updated>2011-11-03T13:11:24-04:00</updated>
>   <published>2011-11-03T13:11:24-04:00</published>
> </entry>
>
> --
> 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
>

-- 
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

Reply via email to