GetAuthorizedPeople Method (ApplicationConnection)

HealthVault
Gets information about people authorized for an application.

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

public static IEnumerable<PersonInfo> GetAuthorizedPeople(
	ApplicationConnection connection
)

Parameters

connection
Type: Microsoft.Health..::..ApplicationConnection
The connection to use to perform the operation. This connection must be application-level.

Return Value

An IEnumerable iterator of PersonInfo objects representing people authorized for the application.

The returned IEnumerable iterator will access the HealthVault service across the network. The default GetAuthorizedPeopleSettings values are used.

ExceptionCondition
Microsoft.Health..::..HealthServiceException The HealthVault service returned an error.
Show: