check all user accounts windows code example Example: see users in windows Just type following command-line in terminal!! net user