Discovering Domain Group Membership for an Account

Today was not the first time that I’ve had to verify that BizTalk service accounts were in the right domain groups, but didn’t have access to AD to check.  Fortunately a bit of time with Dr. Google unearthed this command line tool:

net user {username} /domain

This will output all the domain groups that the account belongs to, along with quite a bit of other information:

The request will be processed at a domain controller for domain <MyDomain>
User name                    dan.toomey
Full Name                    Dan Toomey
Comment
User's comment
Country code                 000 (System Default)
Account active               Yes
Account expires              Never
Password last set            14/05/2010 1:43:42 PM
Password expires             Never
Password changeable          17/05/2010 1:43:42 PM
Password required            Yes
User may change password     Yes
Workstations allowed         All
Logon script                 Logon.bat
User profile
Home directory
Last logon                   13/03/2013 7:52:58 AM
Logon hours allowed          All
Local Group Memberships
Global Group memberships     *All Staff            *DomainUsers
                             *Biztalk TFS Contribut*SSO Administrators
                             *Projects_Team        *Biztalk Admins

The command completed successfully.

Now I don’t have to spend time searching for this anymore! 🙂

About Dan Toomey
Husband, father, Enterprise integration geek, Microsoft Azure MVP, Pluralsight author, Brisbane Azure User Group leader (@BrisbaneAzureUG), MCPD, MCT, MCTS & former professional musician.

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

John Glisson - Geek of the Cloth

Thoughts on integration, technology and what-not...

prashantbiztalkblogs

My BizTalk Experiences

The CRUCIBLE

THINK: It's not illegal....yet.....

paulbouwer.com

life and technology

Abdul Rafay's BizTalk Blog

My experiences with BizTalk related to architecture, development and performance in my enterprise.

Mike Diiorio

Connected Systems and other thoughts

BizTalk musings

Issues, patterns and useful tips for BizTalk development

EAI Guy.net

Enterprise Applicaiton Integration and SOA 2.0

Connected Pawns

Mainly BizTalk & Little Chess

Man Vs. Machine

Why can't we all just get along?

Adventures inside the Message Box

BizTalk, Azure, and other tools in the Microsoft stack - Johann Cooper

Biz(Talk)2

Talk, talk and more talk about BizTalk

Richard Seroter's Architecture Musings

Blog Featuring Code, Thoughts, and Experiences with Software and Services

Sandro Pereira BizTalk Blog

My notes about BizTalk Server 2004, 2006, 2006 R2, 2009, 2010, 2013 and now also Windows Azure BizTalk Services.

BizTalk Events

Calendar of BizTalk events all over the world!

Mind Over Messaging

Musings on BizTalk, Azure, and Enterprise Integration

The WordPress.com Blog

The latest news on WordPress.com and the WordPress community.

%d bloggers like this: