Hello.
Does anybody know how to programme in C++ a part of code to run under different credentials (ie. Administrator rights).
For example: an .exe is running under momentary account credentials. In some part of code program needs Administrative rights to finished its job. So I have Admin password and a program with that password can switch to Admin credentials and finished its job.
Can anybody help me?
Thanks in advance
Andreo
Does anybody know how to programme in C++ a part of code to run under different credentials (ie. Administrator rights).
For example: an .exe is running under momentary account credentials. In some part of code program needs Administrative rights to finished its job. So I have Admin password and a program with that password can switch to Admin credentials and finished its job.
Can anybody help me?
Thanks in advance
Andreo