从UWP应用中的AccountSettingsPane获取帐户名称

时间:2017-03-16 09:52:06

标签: authentication uwp windows-10-universal c++-cx

我正在使用AccountSettingsPane + WebAccountProvider UWP API来显示Windows中当前连接的帐户列表(参见图片)。有没有办法获得帐户显示名称(在这种情况下:awkoren@gmail.com)使用WebAccountProvider实例作为WebAccountProviderCommandInvokedHandler中的参数?我尝试了一切,似乎没有办法做到这一点(除了有一个WebAccount类的实例,但这需要首先进行身份验证) - 我错过了一些明显的东西吗?我的意思是,毕竟,AccountSettingsPane 知道如何显示该名称。

enter image description here

0 个答案:

没有答案