Hi Daniel, I've filed a feature request to add this to the .NET Doclist client: http://code.google.com/p/google-gdata/issues/detail?id=203
Please star the issue :) That being said, you _can_ query the ACL feed directly if you know the document's id. Here's an example for a spreadsheet: GET http://docs.google.com/feeds/acl/private/full/spreadsheet%3ASPREADSHEET_ID The Calendar .NET guide has an example of querying the AclFeed: http://code.google.com/apis/calendar/docs/2.0/developers_guide_dotnet.html#RetrieveAcl Eric On Jan 3, 12:52 am, Daniel <[email protected]> wrote: > Hi Eric! This is great news! Now my question is, can I do this in > the .NET API (the .dll's) or do I have to use the REST protocol? kind > of with the PUTs and GETs? > > thank you! > Daniel > > On Jan 2, 10:06 am, "Eric (Google)" <[email protected]> wrote: > > > Hi Daniel, > > > Your approach is reading the entry's <author> tag. You'll be the > > owner of a > > document 9/10, and therefore the sole <author>. > > > There's a separate feed for reading the ACL permissions. > > It's not discussed in the .NET Developer's guide (which needs > > updating), > > but _is_ discussed in the raw protocol > > guide:http://code.google.com/apis/documents/docs/2.0/developers_guide_proto... > > > Happy new year, > > Eric > > > On Dec 29 2008, 7:31 pm, Daniel <[email protected]> wrote: > > > > I have 1 Document "test" which is a text document in my Account that I > > > created, and I invited 2 people to collaborate with me on this > > > Document. Lets say [email protected] and [email protected] > > > > Thus, the document "test" has 3 people in the Collaborators list under > > > the "Share this document" settings page on the document, [email protected], > > > [email protected], and Me > > > > I want to just view the Collaborators from this document through the > > > API, this is what I'm doing: > > > > DocumentsService service = new DocumentsService("myCompany-myApp-1"); > > > service.setUserCredentials("myEmail", "myPassword"); > > > > DocumentsListQuery query = new DocumentsListQuery(); > > > DocumentsFeed feed = service.Query(query); > > > > foreach (DocumentEntry entry in feed.Entries) > > > { > > > //I'm trying to read the Contributors > > > foreach (AtomPerson person in entry.Contributors) > > > { > > > Console.WriteLine(person.Email); > > > } > > > > //I'm trying to read the Authors > > > foreach (AtomPerson person in entry.Authors) > > > { > > > Console.WriteLine(person.Email); > > > } > > > > } > > > > The one Author (me) is the only thing that prints. What am I doing > > > wrong here? > > > > thank you!!! > > > Daniel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Docs Data APIs" 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-Docs-Data-APIs?hl=en -~----------~----~----~----~------~----~------~--~---
