• Parameters

    • platform: Platform = process.platform

      The platform to get the username for. Defaults to the current platform.

    Returns Promise<null | string>

    The username of the current user.