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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Get user from process (windows NT/XP)

Get user from process (windows NT/XP)

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorialquestion
4 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.
  • J Offline
    J Offline
    JaVinci
    wrote on last edited by
    #1

    Hi! I need to know how to get user information of every process running in windows. I already have a list with all the process id's, but I can't find the way to obtain the user names (or user id's) of the owners of that processes. I'm using VC++ 6 Can you help me, please? Thanks!!!

    J C 2 Replies Last reply
    0
    • J JaVinci

      Hi! I need to know how to get user information of every process running in windows. I already have a list with all the process id's, but I can't find the way to obtain the user names (or user id's) of the owners of that processes. I'm using VC++ 6 Can you help me, please? Thanks!!!

      J Offline
      J Offline
      James R Twine
      wrote on last edited by
      #2

      Have a look at the PSAPI and Tool Help Library in MSDN.    Peace! -=- James


      If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
      Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
      DeleteFXPFiles & CheckFavorites (Please rate this post!)

      J 1 Reply Last reply
      0
      • J James R Twine

        Have a look at the PSAPI and Tool Help Library in MSDN.    Peace! -=- James


        If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
        Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
        DeleteFXPFiles & CheckFavorites (Please rate this post!)

        J Offline
        J Offline
        JaVinci
        wrote on last edited by
        #3

        Cool! Thank you so much!

        1 Reply Last reply
        0
        • J JaVinci

          Hi! I need to know how to get user information of every process running in windows. I already have a list with all the process id's, but I can't find the way to obtain the user names (or user id's) of the owners of that processes. I'm using VC++ 6 Can you help me, please? Thanks!!!

          C Offline
          C Offline
          CodeBeetle
          wrote on last edited by
          #4

          Try This...http://codebeetle.com/page.php?al=process_username[^]


          CodeBeetle.Com


          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