IVisuUserMgmt.ChangeUserPassword (METH) ¶ METHOD ChangeUserPassword : BOOL InOut: Scope Name Type Comment Return ChangeUserPassword BOOL Input dwUserDB DWORD The ChangeUser action is always done on a copy DB file wstUserName WSTRING wstNewPassword WSTRING wstOldPassword WSTRING
IVisuUserMgmt.CheckLoginIntern (METH) ¶ METHOD CheckLoginIntern : UDINT It checks the login to see if the credentials are OK. The Login check is always done on the main user DB file. The result is the user group ID or an INVALID_USERGROUP_ID if the check fails. InOut: Scope Name Type Return CheckLoginIntern UDINT Input wstUserName WSTRING wstPassword WSTRING Output wstFullName WSTRING dwUserGroupID DWORD
IVisuUserMgmt.FillLanguageGroupNames (METH) ¶ METHOD FillLanguageGroupNames : BOOL InOut: Scope Name Type Return FillLanguageGroupNames BOOL
OpenUserManagementDialog (FUN) ¶ FUNCTION OpenUserManagementDialog : BOOL InOut: Scope Name Type Return OpenUserManagementDialog BOOL Input pClientData POINTER TO VisuElems.VisuStructClientData
OpenUserManagementDialog2 (FUN) ¶ FUNCTION OpenUserManagementDialog2 This function is a replacement of function OpenUserManagementDialog. It also gets an IVisualElement instance, that opens the dialog and that will get the notification if the dialog is closed. InOut: Scope Name Type Comment Input pClientData POINTER TO VisuElems.VisuStructClientData itfVisualElement VisuElems.IVisualElement The IVisualElement instance, that opens the dialog
OpenUserManagementDialog3 (FUN) ¶ FUNCTION OpenUserManagementDialog3 This function extends OpenUserManagementDialog2 by a new parameter ‘pPosition’ to set the dialog position. InOut: Scope Name Type Comment Input pClientData POINTER TO VisuElems.VisuStructClientData itfVisualElement VisuElems.IVisualElement The IVisualElement instance, that opens the dialog pPosition POINTER TO VisuElems.VisuStructSimpleRectangle position of the dialog value 0 (pointer NULL): open centered on visualization values in ptTopLeft: topleft x and y for the dialog
Private ¶ prvCheckUserMgrIsActive (Function)
prvCheckUserMgrIsActive (FUN) ¶ FUNCTION prvCheckUserMgrIsActive : BOOL Test if we are running with new RTS based user management or with the legacy one InOut: Scope Name Type Return prvCheckUserMgrIsActive BOOL
VUM_GroupSelection (STRUCT) ¶ TYPE VUM_GroupSelection : STRUCT InOut: Name Type wstGroup WSTRING(79) stImage STRING(40) bSelected BOOL iIndex INT
VisuChangePasswordProvider (FB) ¶ FUNCTION_BLOCK VisuChangePasswordProvider IMPLEMENTS IVisuUserMgmtProvider This function block provides all information for the ChangePasswordDialog Methods: CheckPassword Initialize SetUserCount SetUserDB SetUsers Structure: CheckPassword (Method) IVisuUserMgmtProvider SetUserCount (Method) SetUserDB (Method) SetUsers (Method) Initialize (Method)