Skip to content

Exporting a list of a given users group memberships from Active Directory

This article was been published more than 6months ago. The information contained herein may be outdated.

A while back, I showed you how to export a list of all members of a group, as well as all computers, from Active Directory. On a related note, here’s how to export all group memberships held by a single user:

  1. Log on to your Domain Controller
  2. Open a command prompt
  3. Enter the command dsget user "%DN%" -memberof > filename.txt, substituting %DN% for the Distinguished Name of the user in question, and replacing filename with something logical if you so desire

Be First to Comment

Leave a Reply