This function is used in Python Scripting.

Description

Returns a hex-string that represents a number unique to the running client's session. You are guaranteed that this number is unique between all running clients.

Client Permission Restrictions

This scripting function has no Client Permission restrictions.

Syntax

system.util.getClientId()

  • Parameters

Nothing

  • Returns

String - A special code representing the client's session in a unique way.

  • Scope

Vision Client

Code Examples
Code Snippet
# This code prints the current client's id to the debug console.
id = system.util.getClientId()
print id
Keywords

system util getClientId, util.ClientId