Re: List groups that a user belong using AD

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Ahmed Qurashi (ahmedqurashi_at_gmail.com)
Date: 01/18/05


Date: Tue, 18 Jan 2005 09:48:16 -0500

Hi Gonçalo!

Use the System.DirectoryServices namespace to access AD. Here is a code
example that shows how to use a Windows form to enumerate user memberships:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sds/sds/enumerating_user_memberships.asp

ok,
aq

"Gonçalo Boléo" <gboleo@netcabo.pt> wrote in message
news:eTH3ktV$EHA.2552@TK2MSFTNGP09.phx.gbl...
> How do i list the groups a user belong using AD?
>
> thanks,
> Gonçalo Boléo
>
>