LoadPersonInfoFromCookie Method (HttpCookie)

HealthVault
Gets the person's information from the cookie.

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 LoadPersonInfoFromCookie(
	HttpCookie cookie
)

Parameters

cookie
Type: System.Web..::..HttpCookie
The cookie to load the person's information from

Return Value

The person's information that was stored in the cookie or null if the cookie doesn't contain the information. Note, the PersonInfo returned may contain an expired authentication token.
Show: