Results 1 to 6 of 6

Thread: retrieve members of a global group?

  1. #1
    tthomas
    Guest

    retrieve members of a global group?

    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!

  2. #2
    Fanatic Member crispin's Avatar
    Join Date
    Aug 2000
    Location
    2 clicks west of a Quirkafleeg...Cornwall, England
    Posts
    754
    www.mvps.org/vb

    look for the NT groups sample (Netuser I think?)
    Crispin
    VB6 ENT SP5
    VB.NET
    W2K ADV SVR SP3
    WWW.BLOCKSOFT.CO.UK

    [Microsoft Basic: 1976-2001, RIP]

  3. #3
    tthomas
    Guest
    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.

  4. #4
    tthomas
    Guest
    I found it. Thank you very much.

    Tony T.

  5. #5
    Addicted Member tcurrier's Avatar
    Join Date
    May 1999
    Location
    Northeastern Pa./USA
    Posts
    255
    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.
    VB6 Enterprise SP4

  6. #6
    tthomas
    Guest
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width