how to know which user is connected

cedric89
2021-06-22
2021-06-30
  • 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 - 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.