Print the Current Domain and User Names Usage: whoami [-dupgh-] whoami prints out the current domain and user names and, optionally, the groups to which the user belongs. By default, it prints it in the form <domain>\<user>. Under Windows 95, the domain is actually the current machine name. Groups exist only under Windows NT, not Windows 95. Options: -d Print only the domain name. -u Print only the user name. -p Also print the user's primary group. (NT only.) -g Also print a list of all the groups to which the user belongs. (NT only.) -h Help -- End of options
Previous Utility |
List of External Utilities
| Next Utility
Table of Contents
Copyright © 1988-2003 by
Hamilton Laboratories.
All rights reserved.