Welcome, Guest
Username: Password: Remember me

TOPIC: User Log

User Log 10 months 1 week ago #2432

I have an issue with the user logging because if a new user logged in during runtime without stop, the previous user isn't logged as logging out but the new user are logged as logged in in the event history. And even after the runtime been stopped, only the current user will be logged as logged out
this can be misunderstood as the previous user never logged out and will create confusion to other party
can this be fixed or is there a way around it?

Thank you in advance
Last Edit: 10 months 1 week ago by kurotsubaki. Reason: adding detail
The administrator has disabled public write access.

User Log 10 months 6 days ago #2433

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 826
  • Thank you received: 123
  • Karma: -107
Hello,
Yes, you're right. We'll fix it in the next version.

Best regards,
Ruslan
The administrator has disabled public write access.

User Log 9 months 1 week ago #2456

is there a way to reload the current screen or redirect it back to home screen when a user change happen?
Can a general ondatachange script work for this? checking the current user with saved current user tags
The administrator has disabled public write access.

User Log 9 months 1 week ago #2457

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 826
  • Thank you received: 123
  • Karma: -107
Yes, it's possible. Use SystemCurrentUserName system tag for this in the script. When name of the current user is changed this script is executed and you can call screen you want.

Best regards,
Ruslan
The administrator has disabled public write access.

User Log 9 months 2 days ago #2466

how do i use system tag?
The administrator has disabled public write access.

User Log 9 months 2 days ago #2467

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 826
  • Thank you received: 123
  • Karma: -107
Create ST script with OnDataChanged type. Use the system tag SystemCurrentUserName. For example just print(Tags.SystemCurrentUserName ). When this tag is changed (your current user is changed) the script is executed and you can use any other functions you want in this script.

Best regards,
Ruslan
The administrator has disabled public write access.
The following user(s) said Thank You: kurotsubaki
Go to top