system.util.getClientId

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.

Syntax

system.util. getClientId()

  • Parameters

none

  • Returns

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

  • Scope

Client

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