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. Getting Win2K user information from app

Getting Win2K user information from app

Scheduled Pinned Locked Moved C / C++ / MFC
sysadminhelpquestion
2 Posts 2 Posters 1 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.
  • B Offline
    B Offline
    BoudewijnEctor
    wrote on last edited by
    #1

    Hi there, I need to get the user name (and if possible the type (like normal user, guest or administrator)), in a program. This is used for sending messages to a central message box on a server, everybody should be able to read only his messages. This will be checked by verifying the name of the intended receiver and the user name. Will your help also work under winXP?

    I 1 Reply Last reply
    0
    • B BoudewijnEctor

      Hi there, I need to get the user name (and if possible the type (like normal user, guest or administrator)), in a program. This is used for sending messages to a central message box on a server, everybody should be able to read only his messages. This will be checked by verifying the name of the intended receiver and the user name. Will your help also work under winXP?

      I Offline
      I Offline
      igor1960
      wrote on last edited by
      #2

      Can't you use GetUserName()? "...Ability to type is not enough to become a Programmer. Unless you type in VB. But then again you have to type really fast..." Me

      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