Contents

Method

GetEventSubscriptions

ModulePolicy
LibraryCore
Action

Get the list of event subscriptions in the current policy.

Parameters

None

Return values

For each event subscription:

Topic (string): The event subscription topic.

Type (string): A JSON block containing application-specific data for this subscription (or empty).

Example
Policy.GetEventSubscriptions();
Platforms
  • Windows
  • Linux
  • MacOS
Notes

Introduced in v8.1.

If the policy engine has been disabled through configuration, this method returns no data.

This method will return example data (for testing) in TIMS, because TIMS uses an alternative policy engine.