PDA

Click to See Complete Forum and Search --> : retrieve members of a global group?


tthomas
Jun 18th, 2001, 12:33 PM
Is there a way to retrieve the usernames of the members of a specific NT global group, so I can compare them to the current local user and apply Excel workbook protections accordingly? Any help is greatly appreciated!

crispin
Jun 19th, 2001, 03:21 AM
www.mvps.org/vb

look for the NT groups sample (Netuser I think?)

tthomas
Jun 19th, 2001, 07:52 AM
I'm sorry, but I don't quite undertstand your response. Please have patience, as I'm new to VB and it's forums.

Thank You,
Tony T.

tthomas
Jun 19th, 2001, 12:29 PM
I found it. Thank you very much.

Tony T.

tcurrier
Jul 3rd, 2001, 04:55 PM
tthomas, is that what you were looking for? I thought you were looking to list ALL the members of a Global Group ? I think THAT
sample lists all the Global Groups that a SINGLE member belongs to.

If you were looking for the latter, and found it, please let me know. I'm looking for the code to do this ....

Thanks.

tthomas
Jul 5th, 2001, 07:40 AM
tcurrier,
It didn't matter to me which output I got, because I was trying to set the protections on an Excel spreadsheet based on the current user's membership in a specific global group. So it was just as easy to compare the groups listed to the "enabled" group as it would have been to compare the users listed to the current user.

Thanks,
Tony T.