gethwid
Gets Volt's external user identifier.
Syntax
gethwid() -> stringReturns
| Type | Description |
|---|---|
string | The current user's opaque external identifier |
Description
Despite its compatibility name, gethwid returns the external identifier stored by Volt's environment. Scripts should treat it as an opaque string and should not infer which hardware or account properties were used to produce it.
Example
local identifier = gethwid()
print("Volt identifier:", identifier)Notes
- Do not parse the identifier or assume a particular format
- Avoid logging or transmitting it unless the user expects that behavior
Related Functions
identifyexecutor- Get executor info