<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_user_information():
 """ Returns the user's information :rtype: (str, int, str) """

    try:
        import pwd
        _username = pwd.getpwuid(os.getuid())[0]
        _userid = os.getuid()
        _uname = os.uname()[1]
    except ImportError:
        import getpass
        _username = getpass.getuser()
        _userid = 0
        import platform
        _uname = platform.node()

    return _username, _userid, _uname