Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: User Access Level

User Access Level 10 months 2 weeks ago #2425

is there a way to set user access to only be able to open its own access level? like level 2 access can only open level 2 and not level 3?

because as far as I know, currently, the higher level can also access lower level

thank you in advance
The administrator has disabled public write access.

User Access Level 10 months 2 weeks ago #2426

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 826
  • Thank you received: 123
  • Karma: -107
Hello,

No, it's not possible. User that have higher access level can open Screens with lower level.

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

User Access Level 10 months 2 weeks ago #2427

can i do way around by making an OnStart script that refuse access from higher access level?
The administrator has disabled public write access.

User Access Level 10 months 2 weeks ago #2428

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 826
  • Thank you received: 123
  • Karma: -107
No, it's not possible. You can dynamically change access level by using expression like this: Users.Operator.accesslevel=2;

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

User Access Level 10 months 6 days ago #2434

also, how do ST Language adduser() function work? i don't get on how input 5 work.
do i need to convert 10 digit binary into integer? from left to right 0 to 9 user property?
The administrator has disabled public write access.

User Access Level 10 months 6 days ago #2435

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 826
  • Thank you received: 123
  • Karma: -107
You can find description here: teslascada.com/HTML/user-library.html
Input5 is an interger from bits. Every bit response for boolean property of the user:
for example 011 = 3.
1 - 0 bit = Control function is enabled
1 - 1 bit = Acknowledge events (this user can acknowledge events)
0 - 2 bit = Delete events (this user can't delete events from Event log because property is FALSE)
Other properties false because bits are FALSE.

Best regards,
Ruslan
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Go to top