Solved

command line to show group that user is joining

Posted on 2006-06-29
4
308 Views
Last Modified: 2008-01-09
Hello,

In W2003 AD:
Are there any commands to show the list which universal/global/domainlocal group that user is joining?
I don't need the command to show "who is in the group" like "net group(local group)".

Thanks.
0
Comment
Question by:kimakabane
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 51

Accepted Solution

by:
Netman66 earned 250 total points
ID: 17014698
The command would be:

dsquery user -name {name or partial name with wildcard here} -s {servername}| dsget user -memberof -s {servername}


As an example:

Let's say the user was John Smith and your servername is Server1, then the command would be:

dsquery user -name "John Smith" -s Server1 | dsget user -memberof -s Server1






0
 
LVL 51

Expert Comment

by:Netman66
ID: 17014704
You must have the Support Tools installed on the server for those utilities.  It's on the server CD under \Support.

0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question