GetCurrentActivity

Returns information about the user’s current activity.

Syntax

<HsvSystemInfo>.GetCurrentActivity pbstrAppName, pbstrServerName, plActivityUserID, plCurrentActivity, pbstrModuleName, pdTimeStarted, pbstrDescription

Argument

Description

pbstrAppName

String. Returns the name of the application to which the user is logged on.

pbstrServerName

String. Returns the name of the application server to which the user is logged on.

plActivityUserID

Long. Returns the activity user ID for the user.

plCurrentActivity

Long. Returns the ID of the user’s current activity. Valid values are represented by the HFMConstants type library constants listed in User Activity Constants.

pbstrModuleName

String. Returns the name of the Financial Management module in which the user is working.

pdTimeStarted

Double. Returns the timestamp of when the user started the activity. The timestamp is returned as a Double that can be cast into a Date format.

pbstrDescription

String. Returns the description of the user’s current activity.