GetAuthorizedPeople Method (GetAuthorizedPeopleSettings)

Gets information about people authorized for an application.

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

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


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.

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.