Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

GetAuthorizedRecords Method

HealthVault
Gets the HealthRecordInfo for the records identified by the specified recordIds.

Namespace: Microsoft.Health
Assembly: Microsoft.Health (in Microsoft.Health.dll) Version: 2.1.0.0 (1.15.1003.9505)

public static Collection<HealthRecordInfo> GetAuthorizedRecords(
	ApplicationConnection connection,
	IList<Guid> recordIds
)

Parameters

connection
Type: Microsoft.Health..::..ApplicationConnection
The connection to use to perform the operation. This connection must be authenticated.
recordIds
Type: System.Collections.Generic..::..IList<(Of <(<'Guid>)>)>
The unique identifiers for the records to retrieve.

Return Value

A collection of the records matching the specified record identifiers and authorized for the authenticated person.

This method is useful in cases where the application is storing record identifiers and needs access to the functionality provided by the object model.
Show:
© 2015 Microsoft