Google Drive SDK:通过域超级管理员访问权限将用户的文件复制到其他用户 [英] Google Drive SDK: To copy files from a user to another user via Domain Super Administrator access right
问题描述
当我阅读以下内容时: https://developers.google.com/drive/v2/reference/files/copy ,此API只允许复制到我自己的Google云端硬盘中。
请帮忙。
-
使用域范围的委派模拟每个用户 https://developers.google.com/drive/delegation 。
-
作为源用户进行身份验证并与目标用户共享文件 https://developers.google.com/drive/v2/reference/permissions/insert
-
认证为目标用户并将源文件复制到生成目标用户拥有的文件的目标副本 https://developers.google.com / drive / v2 / reference / files / copy
Say, I am a Domain Super Administrator. And, there are User A (source - files to be copied from) and User B (destination - files to be copied to). Is there any Google Drive SDK API available for this feature?
When I read this: https://developers.google.com/drive/v2/reference/files/copy, this API allows only to copy into my own Google Drive.
Please help. Thanks.
Use domain-wide delegation to impersonate each user https://developers.google.com/drive/delegation.
Authenticate as source user and share file with target user https://developers.google.com/drive/v2/reference/permissions/insert
Authenticate as target user and copy source file to produce target copy of file owned by target user https://developers.google.com/drive/v2/reference/files/copy
这篇关于Google Drive SDK:通过域超级管理员访问权限将用户的文件复制到其他用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!