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