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

AVEVA™ InTouch HMI

IsAssignedRole() 函数

  • Last UpdatedSep 24, 2024
  • 1 minute read

确定当前登录的用户是不是特定用户角色的成员。仅适用于 ArchestrA 安全性。

类别

安全性

语法

DiscreteTag=IsAssignedRole( "RoleName" );

参数

RoleName

与 Application Server 用户关联的角色。

附注

仅对 ArchestrA 安全模式有效,适用于当前登录的用户。如果用户当前已登录,并且拥有在 Galaxy IDE 中指定的 RoleName 角色,则返回 TRUE。否则返回 FALSE。

示例

DiscreteTag=IsAssignedRole( "Administrators" );

另请参阅

AttemptInvisibleLogon()、PostLogonDialog()、InvisibleVerifyCredentials()、QueryGroupMembership()、AddPermission()