VisuUserMgmt.Login (METH)¶
METHOD Login : VUM_ReturnValues
It does the login It works with both legacy and runtime-based user management If everything is correct the function returns VUM_ReturnValues.ERR_OK. see VUM_ReturnValues where possible error reasons are described.
- InOut:
Scope
Name
Type
Comment
Return
LoginVUM_ReturnValuesInput
pClientPOINTER TO BYTE
A pointer to the visualization client - POINTER TO VisuElems.VisuStructClientData
wstUserNameWSTRING(79)The user name
wstPasswordWSTRING(79)The password of the user
Output
wstFullNameIfAvailableWSTRINGThe full name of the user, it it’s available
dwUserGroupIDDWORDThe group id where the user belongs to
adwUserGroupIDsARRAY [0..VUM_Constants.VISU_VUM_MAX_GROUPS_PER_USER] OF DWORD
Array of user group ids. In the first entry there’s the user group id same of dwUserGroupID
dwUserGroupCountDWORDNumber of additional user groups
bDeactivatedBOOLIs the user deactivated