Share a sensor with a user

            @param sensor_id (int) - Id of sensor to be shared
            @param parameters (dictionary) - Additional parameters for the call

            @return (bool) - Boolean indicating whether the ShareSensor call was successful

def SensorShare(self, sensor_id, parameters):
        """
            Share a sensor with a user

            @param sensor_id (int) - Id of sensor to be shared
            @param parameters (dictionary) - Additional parameters for the call

            @return (bool) - Boolean indicating whether the ShareSensor call was successful      
        """

        if not parameters['user']['id']:
            parameters['user'].pop('id')

        if not parameters['user']['username']:
            parameters['user'].pop('username')

        if self.__SenseApiCall__("/sensors/{0}/users".format(sensor_id), "POST", parameters = parameters):
            return True
        else:
            self.__error__ = "api call unsuccessful"
            return False