Solved

command line to show group that user is joining

Posted on 2006-06-29
4
305 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
  • 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

803 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