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. LsaEnumerateAccountRights

LsaEnumerateAccountRights

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

    can any body give me an example code for how to use the function LsaEnumerateAccountRights() ..

    vineesh

    I 1 Reply Last reply
    0
    • V vineeshV

      can any body give me an example code for how to use the function LsaEnumerateAccountRights() ..

      vineesh

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

      I've just looked on MSDN for the command, and it looks fairly cleanly documented. http://msdn.microsoft.com/en-us/library/ms721790(VS.85).aspx[^] You pass it a couple of bits of information, it returns information which you tidy up with LsAFreeMemory. The hard bits would be generating the SID value, and the Policy object. But if you click on the link, it gives you a nice big example on how to get it. The below link goes to a page called "Translating between Names and SIDs", taken from the contents of the left of the MSDN site. http://msdn.microsoft.com/en-us/library/ms722463(VS.85).aspx[^] I hoped that helped you on your way, Iain.

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

      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