Enum WindowsScheduledTask.TaskLogonType (0.3.0)

public enum WindowsScheduledTask.TaskLogonType extends Enum<WindowsScheduledTask.TaskLogonType> implements ProtocolMessageEnum

Enum representing the logon type of the task.

Protobuf enum google.backstory.WindowsScheduledTask.TaskLogonType

Implements

ProtocolMessageEnum

Static Fields

Name Description
GROUP

Logon with group credentials.

GROUP = 4;

GROUP_VALUE

Logon with group credentials.

GROUP = 4;

INTERACTIVE_TOKEN

User must already be logged on. The task will be run only in an existing interactive session.

INTERACTIVE_TOKEN = 3;

INTERACTIVE_TOKEN_OR_PASSWORD

First use the interactive token. If the user is not logged on (no interactive token is available), the password is used. The password must be specified when a task is registered. This flag is not recommended for new tasks because it is less reliable than TASK_LOGON_PASSWORD.

INTERACTIVE_TOKEN_OR_PASSWORD = 6;

INTERACTIVE_TOKEN_OR_PASSWORD_VALUE

First use the interactive token. If the user is not logged on (no interactive token is available), the password is used. The password must be specified when a task is registered. This flag is not recommended for new tasks because it is less reliable than TASK_LOGON_PASSWORD.

INTERACTIVE_TOKEN_OR_PASSWORD = 6;

INTERACTIVE_TOKEN_VALUE

User must already be logged on. The task will be run only in an existing interactive session.

INTERACTIVE_TOKEN = 3;

PASSWORD

Use a password for logging on the user. The password must be supplied at registration time.

PASSWORD = 1;

PASSWORD_VALUE

Use a password for logging on the user. The password must be supplied at registration time.

PASSWORD = 1;

S4U

Use an existing interactive token to run a task. The user must log on using a service for user (S4U) logon. When an S4U logon is used, no password is stored by the system and there is no access to either the network or encrypted files.

S4U = 2;

S4U_VALUE

Use an existing interactive token to run a task. The user must log on using a service for user (S4U) logon. When an S4U logon is used, no password is stored by the system and there is no access to either the network or encrypted files.

S4U = 2;

SERVICE_ACCOUNT

Indicates that a Local System, Local Service, or Network Service account is being used as a security context to run the task.

SERVICE_ACCOUNT = 5;

SERVICE_ACCOUNT_VALUE

Indicates that a Local System, Local Service, or Network Service account is being used as a security context to run the task.

SERVICE_ACCOUNT = 5;

TASK_LOGON_TYPE_UNSPECIFIED

The logon method is not specified. Used for non-NT credentials.

TASK_LOGON_TYPE_UNSPECIFIED = 0;

TASK_LOGON_TYPE_UNSPECIFIED_VALUE

The logon method is not specified. Used for non-NT credentials.

TASK_LOGON_TYPE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()