Ever get those questions from people - "What groups does Jane belong to?" or "We have a new person to our group. Can you set them up the same way as Jane?"
Well, here is a quick way to get a list of memberships for a specific user.
dsget user "CN=Smith\, Jane,OU=Users,OU=Domain,DC=Company,DC=com" -memberof >>c:\temp\users.txt
I am sure that you can do this for a lot of people, but I will let you figure that part out. :P
Monday, May 14, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment