I made a serivce application. ( it is executed with System user account )
When i trying to some jobs on the service application, the code does not work.
Because of service application has limitted privileges.
So, i must made other win32 program which is executed by service application with current logon user system privileges.
I think this way is not efficient. Because i must made another program.
So, I looking for the solution that execute some procedure or function with current logon user privileges at the service application.
// Service application body
do_excute_some_code( parameter 1 ); // this procedure will execute with current logon user privileges
Is this possible ???
If you know how to do this, please let me know or give me some example code.
I have a class wher you can do both
Run a Process as logged on user or run Code as loggen on user
Import the Class ProcessAsUser
How you can Start a Process as Logged On User ?
Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.
This Article will show you how to validate number with TEdit control,
What's the TEdit control?
TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text.