HealthServicePage.PersonInfo.AuthorizedRecords.Values始终返回单个值。为什么? [英] HealthServicePage.PersonInfo.AuthorizedRecords.Values always returns single value. Why?

查看:89
本文介绍了HealthServicePage.PersonInfo.AuthorizedRecords.Values始终返回单个值。为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个基于HealthServicePage的网页应用程序。虽然我用
创建了几个人 https://account.healthvault-ppe.com/recordlist.aspx,在OnPreLoad()事件中,我获得仅包含1个人的HealthServicePage.PersonInfo.AuthorizedRecords.Values。我想知道为什么以及我想要
做什么让所有人都归还这家酒店。如果有任何问题,他们都是保管人。

I'm developing a web app with pages basing on HealthServicePage. Although I created several persons in https://account.healthvault-ppe.com/recordlist.aspx, in OnPreLoad() event I get HealthServicePage.PersonInfo.AuthorizedRecords.Values containing only 1 person. I wonder why and what I'm supposed to do to have all persons returned in this property. All of them are custodians if it has any matter.

 

推荐答案

PersonInfo.AuthorizedRecords.Values将拥有经过身份验证的用户有权访问的所有记录。一个人可以访问他们自己的健康记录,他们为其他人创建的健康记录,或其他人
与他们共享的健康记录。



您可以使用GetPeopleForRecord()获取有关已获得HealthVault记录授权或已被邀请共享记录的人员的信息。这也适用于在线申请。



请参阅
http://msdn.microsoft.com/en-us/library/microsoft.health.personinfo_properties.aspx


http://msdn.microsoft.com/en-us/library/microsoft.health.healthrecordaccessor .getpeopleforrecord.aspx
了解更多信息。

PersonInfo.AuthorizedRecords.Values will have all of the records that the authenticated user is authorized to access. A person can access their own health record, health records that they have created for other people, or health records that other people have shared with them.

You can use GetPeopleForRecord() for getting information about the people that have been authorized to the HealthVault record or have been invited to share the record. This too is only possible for Online applications.

Please see http://msdn.microsoft.com/en-us/library/microsoft.health.personinfo_properties.aspx and http://msdn.microsoft.com/en-us/library/microsoft.health.healthrecordaccessor.getpeopleforrecord.aspx for more information.

谢谢,Piyali。


这篇关于HealthServicePage.PersonInfo.AuthorizedRecords.Values始终返回单个值。为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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