Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Checking if a user is in a group

Checking if a user is in a group

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kelprinc
    wrote on last edited by
    #1

    Does anybody know how to check if a user is part of a WINNT group.

    D 1 Reply Last reply
    0
    • K kelprinc

      Does anybody know how to check if a user is part of a WINNT group.

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Sure, but you did not specify whether the group was local or global. Check out NetLocalGroupGetMembers() or NetGroupGetUsers().


      "The greatest good you can do for another is not just to share your riches but to reveal to him his own." - Benjamin Disraeli

      K 1 Reply Last reply
      0
      • D David Crow

        Sure, but you did not specify whether the group was local or global. Check out NetLocalGroupGetMembers() or NetGroupGetUsers().


        "The greatest good you can do for another is not just to share your riches but to reveal to him his own." - Benjamin Disraeli

        K Offline
        K Offline
        kelprinc
        wrote on last edited by
        #3

        Let me try it. I want to check both local and global groups. I have spent the whole day struggling Kelvin Chikomo

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups