@staticmethod
def argparser_get_bareos_parameter(args):
    """
        This method is usally used together with the method argparser_add_default_command_line_arguments.
        
        @param args: Arguments retrieved by ArgumentParser.parse_args()
        @type args:  ArgParser.Namespace
        
        @return: returns the relevant parameter from args to initialize a connection.
        @rtype: dict
        """
    result = {}
    for key, value in vars(args).items():
        if value is not None:
            if key.startswith('BAREOS_'):
                bareoskey = key.split('BAREOS_', 1)[1]
                result[bareoskey] = value
    return result
