There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Add support for batch job rights in ServiceCredDlg
I would like to use ServiceCredDlg to get the credentials that will be used to create a scheduled task. The identity requires the Log on as a batch job right. This dialog unfortunately is restricted to be used for only service accounts.
It would be great if there was a property that could control the permissions/right verification process. Something like:
CREDENTIAL_PURPOSE = SERVICE|BATCHJOB|GENERAL
SERVICE would run the Run as a service right check as it does currently
BATCHJOB would check that the identity has the Run as a batch job right
GENERAL would not run any right checks. This will be useful where the installer needs to verify a windows identity, but it is not used for either a service or batch job identity.