def get_user_playlists(spotipy_obj, username):
    """Gets and returns all Spotify playlists owned by the username specified.

    Parameters:
        spotipy_obj: Spotipy object
        username: Spotify username

    Returns:
        List of dictionaries, each dictionary a Spotify playlist object.

    """

    # Grab all user playlists, including private ones
    initial_playlists = spotipy_obj.user_playlists(username)

    final_playlists = []

    while initial_playlists:
        for playlist in initial_playlists["items"]:
            if playlist["owner"]["id"] == username:
                final_playlists.append(playlist)

        if initial_playlists["next"]:
            initial_playlists = spotipy_obj.next(initial_playlists)
        else:
            initial_playlists = None

    return final_playlists