Log On As A Service right

  • Thread starter Thread starter Virgil Trasca
  • Start date Start date
V

Virgil Trasca

how can I give the right "Log On As a Service" to a process? I need it
through the c++ or delphi code and not user interface.

I need this right in order to perform LogonUser function? MSDN tells
that I need "Act as a part of operating system" for this function but I
found that even with this right the function fails some times. But with Log
on as a Service always work but I don't know how to give this right through
source code.
Sample code will be great for me.

Thanks,
Virgil
 
Back
Top