Export (0) Print
Expand All

SavePersonInfoToCookie Method (PersonInfo)

HealthVault
Stores the specified person's information in 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 HttpCookie SavePersonInfoToCookie(
	PersonInfo personInfo
)

Parameters

personInfo
Type: Microsoft.Health..::..PersonInfo
The authenticated person's information.

Return Value

A cookie containing the person's information.

If personInfo is null, the returned cookie will have an expiration date in the past, and adding it to a response would result in the cookie being cleared.
Show:
© 2014 Microsoft