Just wanted to see if you ever got a solution figured out - I'm keen to do the same thing and figure there must be an API call out there to handle it but no-one seems to know.
Let me know if you found the answer out.
The simplest way I have seen thus far is to use ADSI. In a small paragraph of code you can iterate thru a security hierarchy. Being merely a novice with ADSI, there is much more that can be done, but it sure made security checking much easier. And it's consistent across the various Windows platforms.
Sorry to hear that the FAQ was not of any assistance. Whilst it is not a direct answer to your query it contains much of the info you need to get VB to extract information from the Net series of API calls. The actual calls that you would need to handle are: NetQueryDisplayInformation (allows you to enumerate groups) and NetUserGetGroups (allows you to enumerate all groups a user is a member of)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.