isDistributed()

The function returns TRUE if the entry distributed = 1 exists for the manager in the config file. If the entry distributed in the config file is not 1, FALSE will be returned. In case of a remote UI, the distributed entry is set by the Data Manager when distributed = 0/1 does not exist in the file. In this way, also other systems than the own local system can be accessed.

If the entry distributed = 1 exists in the [general] section and distributed = 0 in the [ui_3] section, the UI does not get any external identifications and cannot access foreign systems.

Synopsis

bool isDistributed();

Parameter

Parameter Description
- -

Return value

The function returns TRUE if the entry distributed = 1 exists for the manager in the config file. If the entry distributed in the config file is not 1, FALSE will be returned.

Description

The function returns TRUE if the entry distributed = 1 exists for the manager in the config file. If the entry distributed in the config file is not 1, FALSE will be returned.

Example

main()
{
  bool retVal;
  DebugN(retVal = isDistributed());
}

Assignment

Administration of managers...

Availability

CTRL