This
getusername function returns the login of the current user. On Windows this is the name of the user currently logged in, whereas on Android this is the first account registered on the device.
The function returns a string containing the user name.