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. Retriving the user privilage set using WINAPI

Retriving the user privilage set using WINAPI

Scheduled Pinned Locked Moved C / C++ / MFC
jsonquestion
3 Posts 3 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.
  • V Offline
    V Offline
    vineeshV
    wrote on last edited by
    #1

    I need to get the privilage set of user (Administrator,Guest ...) Is any API is there to achieve this .. ?

    vineesh

    I D 2 Replies Last reply
    0
    • V vineeshV

      I need to get the privilage set of user (Administrator,Guest ...) Is any API is there to achieve this .. ?

      vineesh

      I Offline
      I Offline
      Iain Clarke Warrior Programmer
      wrote on last edited by
      #2

      There's been several IsUserAnAdmin questions in the last few days... Have a look at this reply to a question two days ago: http://www.codeproject.com/script/Forums/View.aspx?fid=1647&msg=2628859[^] Don't forget to look at the other answers too for information. Going through the security SDK is a difficult thing. Lots of pointers and SID, and xIDs, and, and, and... Iain.

      Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.

      1 Reply Last reply
      0
      • V vineeshV

        I need to get the privilage set of user (Administrator,Guest ...) Is any API is there to achieve this .. ?

        vineesh

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

        vineeshV wrote:

        I need to get the privilage set of user (Administrator,Guest ...)

        You can use NetUserGetInfo() for this.

        "Love people and use things, not love things and use people." - Unknown

        "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

        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