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