Skip to main content
Version: 8.1

system.util.getClientId

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​

Example #1
# This code prints the current client's id to the debug console.
id = system.util.getClientId()
print id

Keywords​

system util getClientId, util.ClientId