Hi,

Via google calendar it's possible to add a new user to an existing
account.
I try to do this from a java application with the folowing code:

calendarLogin.makeConnection(user, paswoord);

            AclEntry entry = new AclEntry();
            entry.setScope(new AclScope(AclScope.Type.USER,
userToAdd));
            entry.setRole(CalendarAclRole.READ);

            System.out.println(calendarURL);
            URL aclUrl = new URL("http://www.google.com/calendar/
feeds/" + calendarURL + "/acl/full");

            AclEntry insertedEntry = calendarLogin.myService.insert
(aclUrl, entry);

CalendarUrl is something like this: gvmmbu0et9ek76stca5ach1u4k
%40group.calendar.google.com


But when I use this function, I keep getting the following error:

Exception in removeUserFromAccessList
com.google.gdata.util.ResourceNotFoundException: Not Found
<HTML>
<HEAD>
<TITLE>Not Found</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Not Found</H1>
<H2>Error 404</H2>
</BODY>
</HTML>

Somebody who has a solution?

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