Obtaining User Info/privileges

This is a discussion on Obtaining User Info/privileges within the C++ Programming forums, part of the General Programming Boards category; What is the easiest way to obtain user info in Windows? THe main thing we want to get is whether ...

  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    3

    Obtaining User Info/privileges

    What is the easiest way to obtain user info in Windows? THe main thing we want to get is whether the user has administrator privileges.

    Thanks!

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    MSDN article on privileges here may be a starting point:
    http://msdn.microsoft.com/en-us/libr...06(VS.85).aspx

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    'Allo, 'Allo, Allo
    Join Date
    Apr 2008
    Posts
    612
    The first two posts here mention all the relevant functions / methods.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 04-03-2008, 10:07 PM
  2. Add/Delete Remotely a user
    By Scarvenger in forum Windows Programming
    Replies: 5
    Last Post: 03-24-2008, 09:36 AM
  3. Replies: 4
    Last Post: 04-21-2004, 05:18 PM
  4. ~ User Input script help~
    By indy in forum C Programming
    Replies: 4
    Last Post: 12-02-2003, 06:01 AM
  5. Stopping a user from typeing.
    By knave in forum C++ Programming
    Replies: 4
    Last Post: 09-10-2001, 01:21 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21