Kaseya Community

Using "If isUserLoggedIn" with multiple users

  • I can use "If isUserLoggedIn (UserA)" to trigger an action when UserA is logged on to the workstation.

    But what to do when I have a list of user?

    Do I create a line per user, or can I add multiple users to on single line?

    Something like "If isUserLoggedIn (UserA,UserB)"

  • You can check the variable #vAgentConfiguration.currentUser# for the logged in username, and do a series of  if then else statements around that.

    Note that in an rds server environment, only the first user (the one showing the agent icon in the system tray) will be seen by vaseya as the logged in user. The other users Kaseya has no knowledge of.