Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

VisuUserManagement: Get info about users in IEC-code

kislov
2021-05-31
2021-06-07
  • kislov

    kislov - 2021-05-31

    Hi.
    I need to get info about users of Visu User Management (what users are created in the project - logins, user ID, group ID, etc.) in IEC-code.
    I suspect I should use method Get Users from FB VisuUserMgmt (VisuUserManagement library).
    But i don't understand how to do it right.
    Please show me a code snippet to nudge in the right direction.

     

    Last edit: kislov 2021-05-31
  • kislov

    kislov - 2021-06-02

    Sir Prestel, I hopefully appeal to your help. πŸ’ž

     
  • dkugler

    dkugler - 2021-06-02

    I ended up with system crashes every thing i tried, described in this thread, too: https://forge.codesys.com/forge/talk/Visualization/thread/6aff74da37/
    So, some help from the persons who know whats going on in the background, will be very appreceated. Especially how the parameters of GetUsers(.....) has to be set in the right way, preventing this system crashes. How does the start/end index belong to ArrSize of the array which the pointer is pointing at. Tankyou!

     
  • m.prestel

    m.prestel - 2021-06-07

    Attached you can find an example on how to use the visu user management from IEC.

    Best regards,
    Marcel

     
    πŸ‘
    1
    • kislov

      kislov - 2021-06-07

      Thanks, this is exactly what i wanted. ❀❀❀

       

Log in to post a comment.