Find account type from command line
Try this command. It should display what you want.

/usr/bin/dscl . -read /Users/username | 
    egrep 'NFSHomeDirectory|RecordType' | tr '\n' ':' | cut -d':' -f2,5
/Users/username:Users