ConnectionUser - property of the tvTrend object
Description:
User defined in trend server (in the PROMOTIC application) this trend viewer connects to.
Syntax:
String ConnectionUser
Note:
Property access
for read and write.
The default value of this property is defined in the "
tvTrend > Data source connection > Server > User" configurator of this object.
This property is also functional in
Web panels.
After writing into this property, it is necessary to call the
Connect method with the
nType=0 parameter.
If a user is defined in this property, that is not defined in the trends server (see the "
Trends" configuration window), then the access to this server is refused to all requests to any data.
If the
ConnectionType property is 1 (local connection), then
permissions are not checked (see the "
PmaTrendGroup > Permissions" tab) and the local server is always connected when calling the
Connect.