DatStat Illume 4.5 SDK Class Reference

HookContext.GetUserData Method 

Returns the value of the named User Data.

public string GetUserData(
   String dataName
);

Parameters

dataName
The friendly name of the User Data.

Return Value

The value of the named User Data.

Remarks

When a participant logs-in to an authenticated survey, the DatStat Illume system will add all of the data in the participant list for that participant into the survey session as User Data. In addition, the SDK developer can use User Data to store values that they wish to persist accross post-backs from the survey participant. These data can be accessed by the survey to set for calculation/display purposes by using the piping tag {USERDATA: <userDataName>} within the survey, or to store important data that subsequent hook code may reference.

Note that User Data are not stored with the survey upon submission unless there is a survey Calculation whose definition references that User Data for storage.

See Also

HookContext Class | DatStat.Collector Namespace | GetUserData