Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieve a list of local groups that user belongs to

Status
Not open for further replies.

sOlsTiCezA

Programmer
Mar 20, 2002
17
ZA
Hi

I want to retrieve a list of local groups that a user belongs to. Also, I want to retireve a list of user names.

Thanks
 
I got an error posting this the first time, so it may show up twice.

I yanked this off google. I would go to this guy's website and download the components.
Colin Wilson wrote in google groups:

You can download the lanman API headers, components, etc. from my website.

You can either use raw APIs (NetGroupEnum, NetLocalGroupEnum, NetUserEnum, etc.) or drop my TNetServer component on a form, set it's 'ServerName' property, and call it's GetGroups, GetUsers, etc. method
to fill in a string list.

Colin
e-mail :colin@wilsonc.demon.co.uk
web: "The difference between practice and theory is that in theory, there is no difference between practice and theory" - Somebody's tag line I stole
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top