Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetPersonInfo Method (String, HealthServiceInstance)

GetPersonInfo Method (String, HealthServiceInstance)

HealthVault
Gets the authenticated person's information using the specified authentication token from the specified HealthVault web-service instance.

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

public static PersonInfo GetPersonInfo(
	string authToken,
	HealthServiceInstance serviceInstance
)

Parameters

authToken
Type: System..::..String
The authentication token for a user. This can be retrieved by extracting the WCToken query string parameter from the request after the user has been redirected to the HealthVault AUTH page. See RedirectToShellUrl(HttpContext, String) for more information.
serviceInstance
Type: Microsoft.Health..::..HealthServiceInstance
The HealthVault web-service instance where the session auth token was received from.

Return Value

The information about the logged in person.
Show:
© 2015 Microsoft