How to access task schedular from IIS apppoll when IIS has no admin access #957
Replies: 2 comments
-
I am using below example to update task scheduler time from webapi hosted on IIS. Provide valid user credentials having admin rights using (TaskService taskservice = new TaskService("MachineName", "UserName", "DomainName", "Password")) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I want to build a web API application (of course in c#) that will be hosted in IIS. The responsibility of this application will be to fetch the task scheduler status, but since the IIS has no admin permission, it is not returning any scheduler. So is there any way to get this?
Beta Was this translation helpful? Give feedback.
All reactions