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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

is user part of group?

Status
Not open for further replies.

MickTheBelgian

Programmer
Jan 11, 2001
160
DK
I know how to pick up the name of the current user, but can I find out if s/he belongs to a certain group?
Platform: W2K
 
MickTheBelgian

NetUserGetLocalGroups and NetUserGetGroups are the API calls that you will need to investigate.

If you are really stuck, I can post some example code. This code is not really production so you woud have to do much work to "waterproof" it
Take Care

Matt
If at first you don't succeed, skydiving is not for you.
 
faq222-31

goes a long way in the right direction

Take Care

Matt
If at first you don't succeed, skydiving is not for you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top