Type - property of the PmUser object

Type of the logged-in user (local or network).
Long Type
1 - Local user
2 - Network user
Property access for read only.
While the configuration user on the "Users" tab can be both local user and network user simultaneously, the logged-in user can be either local or network. The reason is, that the PmUser object is created based on a local or network demand. The provided data is compared with the list of configuration users and if the corresponding configuration user is found, then the PmUser is logged in either as network or local user.
JavaScriptVBScriptSelect and copy to clipboard

var nType = oUser.Type;   // Reading from the property
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.