win32api.GetUserNameEx
string = GetUserNameEx(NameFormat)
Returns the current user name in format from EXTENDED_NAME_FORMAT enum
Parameters
Win32 API References
string = GetUserNameEx(NameFormat)
Returns the current user name in format from EXTENDED_NAME_FORMAT enum