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

AVEVA™ InTouch HMI

GetTokenConnectionStatus() 関数

  • Last UpdatedApr 24, 2026
  • 1 minute read

AVEVA Operations Control 接続エクスペリエンスの AVEVA Identity Manager と CONNECT の接続のステータスを取得します。これは、オフライン接続エクスペリエンスでも使用できます。

構文

このスクリプト関数の構文は、以下のとおりです。

resultcode = GetTokenConnectionStatus();

resultcode は、接続ステータスのトークンを示します。

戻り値

  • Resultcode が 0:アプリケーションは AVEVA Identity Manager と CONNECT の両方に接続されています。

  • Resultcode が 1:アプリケーションは AVEVA Identity Manager に接続されていて、CONNECT には接続されていません。

  • Resultcode が 2:アプリケーションは AVEVA Identity Manager と CONNECT のいずれにも接続されていません。

  • Resultcode が 3:マシンが接続されていない間に AVEVA Identity Manager が更新され、CONNECT への接続が復元されています。

  • Resultcode が 4:オフライン接続エクスペリエンスで Microsoft Windows Active Directory(AD)資格情報を使用してサインインしています。

  • Resultcode が 5:オフライン接続エクスペリエンスで Microsoft Windows Active Directory(AD)資格情報を使用してサインインしており、CONNECT への接続が復元されています。

  • Resultcode が 6:AVEVA Identity Manager と CONNECT の接続に失敗しているが、ユーザーが以前に AVEVA ID または Microsoft Windows Active Directory(AD)資格情報で正常に認証されています。

例:

int AccessTokenStatus=GetTokenConnectionStatus()

In This Topic