InitializeUserData Method

Initializes the user data for the page.

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

protected void InitializeUserData(
	bool logOnRequired


Type: System..::..Boolean
If true and the user hasn't already logged in to HealthVault, the page will automatically redirect to the HealthVault logon page and then return to this page with the auth-token.

The base implementation of OnPreLoad will automatically call this method with the value specified in the LogOnRequired property. This method should only be called explicitly if there is a need to initialize the user data again after the page has been loaded.