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

impersonation

Scheduled Pinned Locked Moved C / C++ / MFC
question
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

    I need to impersonate the user to logged in to the system .The process of impersonation should be like this 1) The user will input the username to be impersonate and passwd 2) There will be a dummy user in the system . 3) I need to read all the privilages for the inputted user 4) Then the dummy user will be logged in to the system with all the privilages of the inputted user The purpose of this is whether i inputted administrator or guest user ,the logged user will be dummy with the admin/guest privilges Can any body tell me how can i achieve this The whole thing should be worked in winNT series and winXP series (including vista ) Its a servie application

    vineesh

    enhzflepE 1 Reply Last reply
    0
    • V vineeshV

      I need to impersonate the user to logged in to the system .The process of impersonation should be like this 1) The user will input the username to be impersonate and passwd 2) There will be a dummy user in the system . 3) I need to read all the privilages for the inputted user 4) Then the dummy user will be logged in to the system with all the privilages of the inputted user The purpose of this is whether i inputted administrator or guest user ,the logged user will be dummy with the admin/guest privilges Can any body tell me how can i achieve this The whole thing should be worked in winNT series and winXP series (including vista ) Its a servie application

      vineesh

      enhzflepE Offline
      enhzflepE Offline
      enhzflep
      wrote on last edited by
      #2

      And for what reason, might I ask, would you want to impersonate a user? Forgive me if your intentions are good, but this sounds like a question better asked at http://www.offensivecomputing.net/[^]

      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