Updating a user's role in an ACL [ calendar ]

8 views
Skip to first unread message

luismmontielg

unread,
Sep 19, 2011, 4:50:13 PM9/19/11
to google-api-java-client
Hello everyone,

I have a calendar and need to grant read-only access to another user.

I haven't found a way to do this with google api java client, is this
possible, if yes, are there any examples available?

Thanks for the help,
Luis Montiel

Mike

unread,
Sep 20, 2011, 6:31:56 AM9/20/11
to google-api-...@googlegroups.com
I don't have the code here or the time to check everything but I believe you should be able to do everything you need with the library.

According to the documentation you need to POST an entry with these three properties:

  • <category>
  • <gAcl:scope>
  • <gAcl:role>

Have a look at the example. You might need to extend the Entry class to enable those properties.


Mike
Reply all
Reply to author
Forward
0 new messages