User Tip #141: Query Windows NT Domain User Account

Hits: Failed to execute CGI : Win32 Error Code = 3


The Windows NT domain maintains a lot of information about your account. If you issue at the commandline:

net user yourdomainaccount /domain

you will get a listing of much that the domain controller maintains for your account. The listing from the command net user wmaples /domain resulted in:


The request will be processed at the primary domain controller for domain
WAYNESDOMAIN.
 
User name                    WMAPLES
Full Name                    Clinton W Maples
Comment                      Group Wayne is in
User's comment               
Country code                 000 (System Default)
Account active               Yes
Account expires              Never

Password last set            1/6/00 10:06 AM
Password expires             2/6/00 10:06 AM
Password changeable          1/6/00 10:06 AM
Password required            Yes
User may change password     Yes

Workstations allowed         All
Logon script                 kix32
User profile                 
Home directory               
Last logon                   1/27/00 5:25 PM

Logon hours allowed          All

Local Group Memberships      
Global Group memberships     *Domain Users         *Group1_Read        
                             *Spj_Change           *SMSDocs_Read         
                             *NOVirusscan          *SMS_Users            
                             *NSS_Change           
The command completed successfully.
It shows no home directory or user profile because I am not using one. In many environments, these fields would display.



Table of Contents



Table of Contents
Meat and potatoes for NT workstation support.