public enum TaskLogonType Task Scheduler logon identity mode.
Values
None
None = 0 No logon identity.
Password
Password = 1 Password supplied at registration.
ServiceForUser
ServiceForUser = 2 Service-for-user logon without stored password.
InteractiveToken
InteractiveToken = 3 Existing interactive token.
Group
Group = 4 Group activation.
ServiceAccount
ServiceAccount = 5 Built-in service account.
InteractiveTokenOrPassword
InteractiveTokenOrPassword = 6 Legacy native XML logon mode, retained when inspecting or updating existing tasks.