How can I query account type information. Things like who and users don't show this. Also tried things like dscacheutil -q user
I'd like to know if a users account is a mobile account and I am doing this through SSH, inevitably I'd like to make a script so any network managed account can be made a mobile managed account using this command I found to make a current user's account a mobile account sudo /System/Library/CoreServices/ManagedClient.app/Contents/Resources/createmobileaccount -n userid -v
Any thoughts on how I can query that information? Account types I am aware of are Local, Networked Managed and Mobile Managed, but I cannot find any way to get this information via CLI.
dscland nothing has been fruitful in providing the information I'm looking for.dscl . readall /usersseems to give the most information overall as well, but still nothing of what I want. Thanks for the thought. I will keep everyone posted, if I find a solution. Still looking for one... – TryTryAgain Mar 4 at 18:20