Module |
|
Header |
/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMisc.h |
Include |
#include "GenericPlatform/GenericPlatformMisc.h" |
Source |
/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp |
static FString GetLoginId()
Returns a unique string associated with the login account of the current machine. Implemented using persistent storage like the registry on window (using HKCU), so is susceptible to anything that could reset or revert that storage if the ID is created, which is generally during install or first run of the app.
Note: This is NOT a user or machine fingerprint, as multiple logins on the same machine will not share the same ID, and it is not based on the hardware of the user. It is completely random and non-identifiable.
a string containing the LoginID, or empty if not available.