LoadPersonInfoFromCookie Method (HttpContext)

LoadPersonInfoFromCookie Method (HttpContext)

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)

'Declaration
Public Shared Function LoadPersonInfoFromCookie ( _
	context As HttpContext _
) As PersonInfo

Parameters

context
Type: System.Web..::..HttpContext
The current request context.

Return Value

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