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

Application Server

GetTokenConnectionStatus() function

  • Last UpdatedJul 22, 2024
  • 1 minute read

Retrieves status of the connection to the AVEVA Identity Manager and CONNECT in AVEVA Operations Control connected experience.

Syntax

The syntax of the script function is as follows:

resultcode = GetTokenConnectionStatus();

Resultcode indicates the token for connection status.

Return value

  • Resultcode is 0 when the connection status is Fully Connected. That is the application is connected to both AVEVA Identity Manager and CONNECT.

  • Resultcode is 1 when the connection status is Partially Connected. That is the application is connected to AVEVA Identity Manager and disconnected from CONNECT.

  • Resultcode is 2 when the connection status is Fully Disconnected. That is the application is disconnected from both AVEVA Identity Manager and CONNECT.

Example:

int AccessTokenStatus=GetTokenConnectionStatus()

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in