Group membership for a user

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

I'm looking for a .NET Framework class that will allow me to determine
if a specific domain\user is a member of a domain\group. Any suggestions?
 
Thanks Vlad...

I'd actually stumbled on that article and the example that came the
closest to providing what I was looking for was the Group Users example,
however, what I want it to return is a "user login name" property, not
the "member" property (which apparently consists of first and last names
and may not be unique).

Is there a listing somewhere of the properties that can be loaded?

Thanks again for your help.

Jeff
 
Hello, Jeff!

J> I'd actually stumbled on that article and the example that came the
J> closest to providing what I was looking for was the Group Users example,
J> however, what I want it to return is a "user login name" property, not
J> the "member" property (which apparently consists of first and last names
J> and may not be unique).

J> Is there a listing somewhere of the properties that can be loaded?

You can use the ADSI tool from server support tools to browse properties of objects...

( http://computerperformance.co.uk/w2k3/utilities/adsi_edit.htm )
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
 
Looks like that tool would accomplish what I wanted, but when I go to
install it, it only includes a dll and mcs file in the zip. I'm running
Windows 2000 and it tells me "MMC cannot open the selected file" when
I try to load the plug-in.
 
Back
Top