【发布时间】:2012-03-07 14:54:12
【问题描述】:
我只是想知道是否可以获得用户在文件夹或共享文件夹中的权限,
我正在使用这个 url 获取文件夹
"https://docs.google.com/feeds/default/private/full/-/folder"
但是我怎样才能获得带有 DocumentListEntry 条目对象的文件夹的权限呢?
这是我的代码:
query = new DocumentQuery(new URL(
"https://docs.google.com/feeds/default/private/full/-/folder"));
feed = client.getFeed(query, DocumentListFeed.class);
// Create a new list of tags with the values of google docs
for (DocumentListEntry entry : feed.getEntries()) {
entry.getCanEdit() // this always return true even if i don't have permission in the folder
}
我希望有人能帮助我,在此先感谢。
【问题讨论】:
标签: api google-docs google-apps google-docs-api