Query a particular user in the domain
net user USERNAME /domain
allows to query interesting information such as the date and time of the last logon etc.
C:\> net user paolo.brunegg /domain
The request will be processed at a domain controller for domain tsuri.ch.corp.
User name PAOLO.BRUNEGG
Full Name Paolo Brunegg
Comment
User's comment
Country code (null)
Account active Yes
Account expires Never
Password last set 08.02.2019 18:06:30
Password expires 09.05.2019 18:06:30
Password changeable 10.02.2019 18:06:30
Password required Yes
User may change password Yes
Workstations allowed All
Logon script
User profile
Home directory
Last logon 01.03.2019 15:12:27
Logon hours allowed All
Local Group Memberships *FOOAPP_Access_XBOX *BARGPO_AB_Environment
*BARSEC_ESDS-IGP_All--*BARSEC_STAR-IGRS_All-
*BARSEC_ESDS-markbyers*BARSEC_STAR-NS2EW--rw
*BARSEC_ESDS-ZEBN_PROC*BARSEC_STAR-NMOAS_con
*BARSEC_QLIK_CLP_LOGIN*BARSEC_FLUQ_PROD_CLP_
*BARSEC_CJEBS_Staging_
Global Group memberships *BAZSEC_PROD_MobileSSL*CEGSEC_MY_TSURI_CH_OF
*BAZORG_TSURI_CH_Trave*CEGORG_IMIA_MDM_ALL
*BAZORG_Tsuri_ch_usesi*CEGSEC_PROD_UserSSLVP
*BAZGPO_SZ_Environment*CEGECM_XALME_NMOAO_ST
*Domain Users
The command completed successfully.