Group access
How do I list the groups a user is in in AD using the command shell? i want to know which groups a particular user is in. Can anyone help?
September 27th, 2011 6:29pm
pls refer the link
http://technet.microsoft.com/en-us/library/cc725681.aspx
Darshana Jayathilake
Free Windows Admin Tool Kit Click here and download it now
September 27th, 2011 8:09pm
If you know the "Pre-Windows 2000 logon name" of the user, you can also use the following at the command prompt of a DC:
dsquery user -samid jsmith | dsget user -memberOf
where the "pre-Windows 2000 logon name" is "jsmith".
Richard Mueller - MVP Directory Services
September 27th, 2011 8:19pm