Export (0) Print
Expand All

GetAuthorizedPeople Method (GetAuthorizedPeopleSettings)

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)

'Declaration
Public Function GetAuthorizedPeople ( _
	settings As GetAuthorizedPeopleSettings _
) As IEnumerable(Of PersonInfo)

Parameters

settings
Type: Microsoft.Health..::..GetAuthorizedPeopleSettings
The GetAuthorizedPeopleSettings object used to configure the IEnumerable iterator returned by this method.

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. See GetAuthorizedPeopleSettings for applicable settings.

ExceptionCondition
Microsoft.Health..::..HealthServiceException The HealthVault service returned an error. The retrieval can be retried from the current position by calling this method again and using the last successfully retrieved person Id for StartingPersonId.
System..::..ArgumentNullExceptionsettings is null.
Show:
© 2015 Microsoft