Prev | Current Page 1168 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"


Discovering User Identity with the WhoAmI Utility
Discovering who you are in relation to other elements of the system is important. A username is
only part of your identity. For example, the system also knows about an SID and your group affiliations.
The WhoAmI utility provides information about the current user based on input criteria.
Using this utility alone displays just the username. This utility uses the following syntax:
WHOAMI [/UPN | /FQDN | /LOGONID]
WHOAMI { [/USER] [/GROUPS] [/PRIV] } [/FO {TABLE | LIST | CSV}] [/NH]
WHOAMI /ALL [/FO {TABLE | LIST | CSV}] [/NH]
The following list describes each of the command line arguments.
/UPN Displays the user??™s name in User Principal Name (UPN) format. Use this option in a
domain setting.
/FQDN Displays the user??™s name in Fully Qualified Distinguished Name (FQDN) format. Use
this option in a domain setting.
/USER Displays the username and SID.
/GROUPS Displays the user??™s group affiliations. Each group entry includes the group name,
type (such as well-known group or alias), group SID, and group attributes (such as mandatory
group, enabled by default, and enabled group).
/PRIV Displays the user??™s privileges.


Pages:
1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180
ABC podl agencja reklamowa poznań Atari betsson