2
在Google.Apis.Drive.v2.Data.File
类中,它只提供最后修改的用户的名称。如何获得用户的完整信息(如电子邮件,用户ID等)。如何使用Google Drive API获取上次修改的用户信息?
var service = new DriveService(auth);
Google.Apis.Drive.v2.Data.File file = service.Files.Get("fileid").Fetch();
file.LastModifyingUserName;// = "User Name" //How to get email id of this user?
在一个组织中,可以有多个人具有相同的姓氏和名字。它是区分的用户标识。所以我需要电子邮件ID。
E.g Allan Donald => [email protected]
Allan Donald => [email protected]
这是非常可能的。
https://developers.google.com/drive/credentials – 2013-05-17 13:08:03
https://developers.google.com/drive/examples/dotnet for c sharp – 2013-05-17 13:09:47
我认为你没有正确地解决问题。为了更清晰起见,我编辑了我的帖子。 –