def get_user_name(self, config_file=None):
        username = self.get_config_value('ui', 'username')
        if username:
            return author_name(username)
        return None
Returns user's name from global configuration file.
dataset/ETHPy150Open codeinn/vcs/vcs/backends/hg/repository.py/MercurialRepository.get_user_name