如何在窗口电话上获取用户帐户 [英] How to get user account on window phone

查看:30
本文介绍了如何在窗口电话上获取用户帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你能告诉我如何在window phone 8上获取用户的电子邮件吗.例如,如果用户有设置,我想获取Google电子邮件帐户电子邮件或Microsoft电子邮件帐户(例如abc@gmail.com或abc@live.com).

Could you tell me how to get user's email on window phone 8.For example, I want to get Google email account email or Microsoft email account (ex abc@gmail.com or abc@live.com) if user have setting.

推荐答案

如果不在应用内向用户询问此信息,就无法收到用户的电子邮件.如果您想要其他方式来识别用户,您可以使用 DeviceExtendedProperties 来获取用户的唯一标识符:

You can't get the users email without asking the user for this information within the app. If you want some other way to identify the user you could use the DeviceExtendedProperties to get a unique identifier for the user:

http://msdn.microsoft.com/en-us/library/windowsphone/develop/microsoft.phone.info.deviceextendedproperties(v=vs.105).aspx

这篇关于如何在窗口电话上获取用户帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆