List Group Membership of a User

List Group Membership of a User

Here’s how you can get information of a user using a username. You will get information about the account detail and which group membership they are in.

H:>net user John.Whingy /domain
The request will be processed at a domain controller for domain microsoft.com.g.

User name                    John.Whingy
Full Name                    Whingy, John (Football Club)
Comment                      Goal Kicker
User’s comment
Country code                 004 (System Default)
Account active               Yes
Account expires              Never

Password last set            9/13/2010 9:30 AM
Password expires             3/12/2011 9:30 AM
Password changeable          9/14/2010 9:30 AM
Password required            No
User may change password     Yes

Workstations allowed         All
Logon script
User profile                 \userprofilepath

Home directory               \userprofilepathMydocs$john.whingy
Last logon                   1/18/2011 9:35 AM

Logon hours allowed          All

Local Group Memberships      *Local Group Football Club
Global Group memberships     *Global Group example 1
        *Global Group example 2
The command completed successfully.

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s