def info(name):
    '''
    Return user information

    CLI Example:

    .. code-block:: bash

        salt '*' user.info root
    '''
    try:
        data = pwd.getpwnam(name)
    except __HOLE__:
        return {}
    else:
        return _format_info(data)
dataset/ETHPy150Open saltstack/salt/salt/modules/mac_user.py/info