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

Reply via email to