Tutorial: system.getDeviceUserId

system.getDeviceUserId

Returns a hex encoded hash of the mac address and the currently logged in user name. For Windows systems this is a sha256 hash of the mac address and USERNAME. For OSX systems the USER environment variable is used.

Example

fin.desktop.System.getDeviceUserId(id => {
    console.log(id);
}, err => {
    console.log(err);
});