CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2011
    Posts
    25

    Enumerate groups or users

    Hi
    I have the owner of a file's sid and name and I need to find out either:
    a. what groups the owner of the file belongs to, or
    b. find out what users belong to certain groups eg all the member of administrators group.
    what is the fastest way to do this via api calls (i.e which apis should I look at)?

  2. #2
    Join Date
    Jan 2011
    Posts
    25

    Re: Enumerate groups or users

    NetLocalGroupGetMembers seems to be one way.

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

Featured