VUM_UserInternal (STRUCT)

TYPE VUM_UserInternal : STRUCT

This structure is an extension of VUM_User available in VisuUserMgmt3_Itfs. Problem is that a structure available in an interface cannot be extended and this can be a problem when that structure is not actually used in an interface, but in internal uses, and we need to add new elements. This is why we add this structure, that has the VUM_User elements and new additional data that is not needed in VUM_User and thus without breaking compatibility. If we need to expose the additional data we have to create a new structure, e.g.: VUM_UserX, used only in the interfaces and not as internal uses. VUM_UserInternal contains all the single elements of VUM_User and not it as a single element (vumUser : VUM_User;) because the single elements are used in the visualization “VUM_UserManagement”; change it, means broken compatibility To maintain the compatibility with the old interfaces, you can find some copies from VUM_User to VUM_UserInternal, and viceversa.

InOut:

Name

Type

Comment

wstUserName

WSTRING(79)

The user name which must be unique

wstFullName

WSTRING(79)

A free full name of the user

wstPassword

WSTRING(79)

The password which should be used to generate the md5hash

md5Hash

ARRAY [0..15] OF BYTE

The md5hash of the password

dwUserGroupID

DWORD

The user group id

abyUserGroupIDs

ARRAY [0..VUM_Constants.VISU_VUM_MAX_GROUPS_PER_USER] OF BYTE

Additional user group ids if the user belongs to several groups

byUserGroupCount

BYTE

Number of additional user groups

bDeactivated

BOOL

Is the user deactivated

bChgPassFirstLogin

BOOL

It must change the password at the first login