Gain Administrator Right on NT4

This is a discussion on Gain Administrator Right on NT4 within the Windows Programming forums, part of the Platform Specific Boards category; Hello, Could someone tell me the name of a function I can use to gain administrator rights on a workstation ...

  1. #1
    Unregistered
    Guest

    Gain Administrator Right on NT4

    Hello,

    Could someone tell me the name of a function I can use to gain administrator rights on a workstation for my application (MFC EXE)?

    I will be supplying the password in the application..
    Cannot find this inform on msdn.,

    Thanks.

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    Try to search for Access Control. The Object you might need is named CAccessToken. Read on from there, it's probably to much stuff to paste it here.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help Me A Gain
    By AHMED KHALAF in forum C Programming
    Replies: 1
    Last Post: 12-09-2004, 07:11 AM
  2. What USA lost and gain from the WAR against Iraq?
    By zahid in forum A Brief History of Cprogramming.com
    Replies: 139
    Last Post: 05-20-2003, 09:51 PM
  3. Multithreading, time gain?
    By Magos in forum Windows Programming
    Replies: 7
    Last Post: 05-08-2003, 05:35 PM
  4. how to gain privilege
    By Jaguar in forum Linux Programming
    Replies: 9
    Last Post: 04-06-2003, 02:30 PM

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