Returns a hex encoded hash of the machine id and the currently logged in user name.
For Windows systems this is a sha256 hash of the machine ID set in the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MachineGuid
and USERNAME
.
For OSX systems, a native-level call is used to get the machine ID.
Example
fin.System.getUniqueUserId().then(id => console.log(id)).catch(err => console.log(err));