[英]Get local dropbox account info c#
I have dropbox installed in my Windows 7 system. 我在Windows 7系统中安装了保管箱。 Is there any way to programmatically retrieve the user email linked with the local dropbox account?
有什么方法可以通过编程方式检索与本地保管箱帐户链接的用户电子邮件? I am able to retrieve the folder location by scanning the host.db file in local application directory.
我可以通过扫描本地应用程序目录中的host.db文件来检索文件夹位置。
Yes ! 是的! you can programmatically retrieve the user email linked with the local dropbox account with the help of "/account/info".
您可以借助“ / account / info”以编程方式检索与本地保管箱帐户链接的用户电子邮件。
/account/info /帐户信息
RETURNS : User account information. 返回值:用户帐户信息。
Sample JSON response { "uid": 12345678, "display_name": "John User", "name_details": { "familiar_name": "John", "given_name": "John", "surname": "User" }, "referral_link": " https://www.dropbox.com/referrals/r1a2n3d4m5s6t7 ", "country": "US", "locale": "en", "email": "john@example.com", "email_verified": false, "is_paired": false, "team": { "name": "Acme Inc.", "team_id": "dbtid:1234abcd" }, "quota_info": { "shared": 253738410565, "quota": 107374182400000, "normal": 680031877871 } } 样本JSON响应{“ uid”:12345678,“ display_name”:“ John User”,“ name_details”:{“ familiar_name”:“ John”,“ given_name”:“ John”,“ surname”:“ User”},“ Referral_link“:” https://www.dropbox.com/referrals/r1a2n3d4m5s6t7 “,” country“:” US“,” locale“:” en“,” email“:” john@example.com“,” email_verified“ :false,“ is_paired”:false,“ team”:{“名称”:“ Acme Inc.”,“ team_id”:“ dbtid:1234abcd”},“ quota_info”:{“ shared”:253738410565,“ quota”: 107374182400000,“正常”:680031877871}}
Return value definitions 返回值定义
field description 栏位说明
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.