Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

$AccessLevel 系统标记

  • Last UpdatedSep 24, 2024
  • 1 minute read

定义当前登录的用户的访问级别。

类别

安全性

用法

$AccessLevel

附注

此标记的值由 InTouch HMI 中指定给当前登录的用户的安全性配置文件的访问级别确定。在 WindowViewer 中,此配置文件可以使用配置用户菜单来访问。

$AccessLevel 的实际数值对于 WindowViewer 没有任何意义,除非是 9000 或更大的值,这代表管理员权限,并且会在 WindowViewer 中启用安全性菜单。$AccessLevel 系统标记可用于在系统中进一步自定义安全性。

数据类型

整型(只读)

有效值

0 到 9999

示例

以下语句用在一个可视化链接中,根据登录的用户的访问级别来确定是否让某个对象(如按钮)变为可见:

$AccessLevel >= 2000;
(对象可以有一个关联的“禁用”链接和基于 $AccessLevel 的表达式。)
$AccessLevel < 5411;

IF $AccessLevel <=500 THEN

Show "Access Denied"; {popup window denying access}

ELSE

Show "Access Granted"; {popup window granting access}

ENDIF;

另请参阅

$Operator、$OperatorEntered、$PasswordEntered、$ConfigureUsers

In This Topic