ConnectionUser - property of object tvTrend
User defined in trend server (in PROMOTIC application) this trend viewer connects to.
ConnectionUser As String
oTrend.ConnectionUser = string
Property access for read and write
. The preset value of this property is defined in the "Data source connection > Server > User
" configurator of this object.
When writing into this property, it is then necessary to call the method Connect
with argument nType=0
If a user is defined in this property, that is not defined in the trends server (see the configurator "Trends
"), then the access to this server is refused to all requests to any data.
If the property ConnectionType
=1 (local connection), then permissions are not checked
(see the page PmTrend > Permissions
) and the local server is always connected on calling the Connect