--- title: "system.vision.getClientId" description: "Returns a hex-string that represents a number unique to the running Client's session." --- # system.vision.getClientId > Returns a hex-string that represents a number unique to the running Client's session. :::info Backwards Compatibility This function replaces [system.util.getClientId](versioned_docs/version-8.1/appendix/scripting-functions/system-util/system-util-getClientId.md). Any scripts containing Vision Client scoped functions that were replaced with system.vision syntax will still work to maintain backwards compatibility. ::: 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](../../../ignition-modules/vision/vision-project-properties/vision-project-properties.md#vision-permissions-properties) restrictions. ## Syntax `system.vision.getClientId()` ### Parameters Nothing ### Returns **String** - A special code representing the Client's session in a unique way. ### Scope Vision Client ## Code Examples ```python title="Example #1" # This code prints the current Client's id to the debug console. id = system.vision.getClientId() print id ```