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