Get another user info
Using UserInfo::GetAccountType we get AccountType of current user.
Can I get AccountType of another user?
In my installer I need to specify name of user who will work with installed program. If user exists I need to check it's AccountType, otherwise I need to create user with specified name.
I can check whether user exists using:
Exec "net user MyUser"
But I have no ideas how to get it's AccountType.