Type - property of the PmUser object
Description:
Type of the logged-in user (local or network).
Values:
1 - Local user
2 - Network user
Note:
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 only local or only 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 as network or local user.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var nType = oUser.Type;
// Reading from the property
Dim nType
nType = oUser.Type
' Reading from the property