Hi,

I'm working with the java libraries and cannot find the answer to a simple 
question. 

A user owns a default calendar plus several secondary calendars. The user 
needs to subscribe a list of his friends to one or more of the secondary 
calendars. How do I add these friends onto the access control list of these 
people?

The steps I'd like to be able to do:
1. Create a secondary calendar - OK
2. Use a calendarEntry(or something) to add acl list to this calendar

Problem is that I cannot work out the URL from the calendarEntry. How does 
that happen?

I tried:
CalendarService myService = new CalendarService("BohaTMX-Calendar-1");
            myService.setUserCredentials(email, password);
            AclEntry entry = new AclEntry();
            entry.setScope(new AclScope(AclScope.Type.USER, userEmail));
            entry.setRole(CalendarAclRole.READ);

            URL aclUrl = new URL(????????????);


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

Any help would be greatly appreciated!


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