• Parameters

    • platform: Platform = process.platform

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

    Returns Promise<string | null>

    The username of the current user.