GetEntitiesContacts

Returns the usernames and security identifiers of the users to be alerted for a given scenario and intercompany transaction-related event for the specified entities.

Syntax

<HsvICM>.GetEntitiesContacts lEventType, lScenario, varalEntities, pvara2DUsersInfo

Argument

Description

lEventType

Long (ByVal). The ID of the intercompany transaction-related event. Valid values are represented by the HFMConstants enumeration tagICEVENTTYPE, which is described in Event Constants.

lScenario

Long (ByVal). The member ID of the Scenario dimension member.

varalEntities

Long array (ByVal). The member IDs of the Entity dimension members.

pvara2DUsersInfo

Variant. Returns a two-dimensional array containing the usernames and security identifiers of the users to be alerted.

The first dimension corresponds to the Entity dimension members passed in the varalEntities argument. The second dimension contains the user information and is indexed from 0 to 1:

  • 0 = The security identifiers of the users. If an entity has multiple users to be alerted, the security identifiers are delimited by semicolons.

  • 1 = The usernames of the users. If an entity has multiple users to be alerted, the usernames are delimited by semicolons.