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

how to know which user is connected

cedric89
2021-06-22
2021-06-30
  • cedric89

    cedric89 - 2021-06-22

    how to know which user is connected ? and compare it to a predefined user ?

    i would like to do something like:
    IF VisuNativeControl.currentFullUserName = 'Maint' THEN
    GVL.BOOL_testvisu:=true;
    END_IF

     

    Last edit: cedric89 2021-06-22
  • m.prestel

    m.prestel - 2021-06-30

    Hey,
    The visu user management allows you do hide specific elements depending on the group of the currently logged in user.

    You can also check against CurrentUserName or CurrentUserGroupName.

    Best regards,
    Marcel

     

Log in to post a comment.