'Return user PROPERTY as given my dscl(1) read or None if not found.'

def _get_user_property(self, property):

    cmd = self._get_dscl()
    cmd += ['-read', ('/Users/%s' % self.name), property]
    (rc, out, err) = self.execute_command(cmd, obey_checkmode=False)
    if (rc != 0):
        return None
    lines = out.splitlines()
    if (len(lines) == 1):
        return lines[0].split(':    ')[1]
    elif (len(lines) > 2):
        return '\n'.join(([lines[1].strip()] + lines[2:]))
    elif (len(lines) == 2):
        return lines[1].strip()
    else:
        return None
